gcc/libjava
Bryce McKinlay 28f7d9d05a decl.c (init_decl_processing): Add new class "protectionDomain" field.
gcc/java:

2001-04-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>

	* decl.c (init_decl_processing): Add new class "protectionDomain"
	field.
	* class.c (make_class_data): Set initial value for "protectionDomain".

libjava:

2001-04-25  Bryce McKinlay  <bryce@albatross.co.nz>

	java.security merge and ClassLoader compliance fixes.

	* java/lang/Class.h (Class): Include ProtectionDomain.h.
	New protectionDomain field.
	(forName): Add initialize parameter. Fixes declaration to comply with
	JDK spec.
	* java/lang/natClass.cc (forName): Correct declaration of the three-arg
	variant. Honour	"initialize" flag.
	(getProtectionDomain0): New method.
	* java/lang/Class.java: Fix forName() declaration.
	(getPackage): New method based on Classpath implementation.
	(getProtectionDomain0): New native method decl.
	(getProtectionDomain): New method.
	* java/lang/ClassLoader.java (getParent): Now final.
	(definedPackages): New field.
	(getPackage): New.
	(defineClass): New variant with protectionDomain argument.
	(definePackage): New.
	(getPackages): New.
	(findSystemClass): Now final.
	(getSystemResourceAsStream): Remove redundant "final" modifier.
	(getSystemResource): Remove redundant "final" modifier.
	(getResources): Now final.
	(protectionDomainPermission): New static field.
	(unknownProtectionDomain): Ditto.
	(defaultProtectionDomain): Ditto.
	(getSystemClassLoader): Now non-native.
	* java/util/ResourceBundle.java (tryGetSomeBundle): Use the correct
	arguments for Class.forName().
	* java/lang/Package.java: New file.
	* gnu/gcj/runtime/VMClassLoader.java (getVMClassLoader): Removed.
	(instance): Static initialize singleton.
	(findClass): Override this, not findSystemClass.
	* java/lang/natClassLoader.cc (defineClass0): Set class's
	protectionDomain field as specified.
	(getSystemClassLoader): Removed.
	(findClass): Renamed from findSystemClass. Call the interpreter via
	URLClassLoader.findClass if loading class via dlopen fails.

	* java/security/*.java: java.security import/merge with Classpath.
	* java/security/acl/*.java: Likewise.
	* java/security/interfaces/*.java: Likewise.
	* java/security/spec/*.java: Likewise.
	* java/net/NetPermission.java: Likewise.
	* java/net/SocketPermission.java: Likewise.
	* gnu/java/security/provider/DefaultPolicy.java: Likewise.

	* Makefile.am: Add new classes.
	* Makefile.in: Rebuilt.
	* gcj/javaprims.h: CNI namespace rebuild.

From-SVN: r41543
2001-04-25 16:45:15 +01:00
..
doc 001-01-07 Anthony Green <green@redhat.com> 2001-01-08 00:27:51 +00:00
gcj decl.c (init_decl_processing): Add new class "protectionDomain" field. 2001-04-25 16:45:15 +01:00
gnu decl.c (init_decl_processing): Add new class "protectionDomain" field. 2001-04-25 16:45:15 +01:00
include Makefile.am (AUTOMAKE_OPTIONS): Remove no-installinfo. 2001-04-04 23:38:53 +00:00
java decl.c (init_decl_processing): Add new class "protectionDomain" field. 2001-04-25 16:45:15 +01:00
javax/naming InitialContext.java (init): Fix typo. 2001-03-28 01:32:02 +01:00
libltdl * Updated from libtool multi-language branch. 2000-09-10 08:04:40 +00:00
scripts 001-01-07 Anthony Green <green@redhat.com> 2001-01-08 00:27:51 +00:00
sysdep Jumbo patch: 2000-05-19 17:55:34 +00:00
testsuite testsuite: libjava: remove some xfail markers. 2001-04-10 14:27:41 +00:00
acconfig.h JVMPI changes... 2000-04-02 15:34:17 +00:00
acinclude.m4 configure.in (LIBDATASTARTSPEC): Use `%s' to search for libgcjdata.a. 2000-09-13 19:01:20 +00:00
aclocal.m4 Looks like Tom forgot to check this in... 2000-09-14 08:01:12 +00:00
addr2name.awk Jumbo patch: 2000-05-19 17:55:34 +00:00
boehm.cc In gcc/java: 2001-01-08 23:28:56 +00:00
ChangeLog decl.c (init_decl_processing): Add new class "protectionDomain" field. 2001-04-25 16:45:15 +01:00
ChangeLog-1999 Rotated ChangeLogs 2000-02-17 22:57:30 +00:00
chartables.pl * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
configure configure.in (CPPFLAGS): Added builddir and srcdir to CPPFLAGS for libtool tests. 2001-04-24 11:27:20 +00:00
configure.host * configure.host: Enable interpreter for PPC. 2001-04-02 19:51:40 +00:00
configure.in configure.in (CPPFLAGS): Added builddir and srcdir to CPPFLAGS for libtool tests. 2001-04-24 11:27:20 +00:00
COPYING COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes... 2000-12-18 09:12:19 +00:00
defineclass.cc exception.cc (java_eh_info): Make value type jthrowable. 2001-03-25 23:05:32 -08:00
exception.cc configure.in (GCC_UNWIND_INCLUDE): Assume we're built within the same tree as gcc. 2001-04-02 16:26:50 -07:00
gij.cc gcj.texi: Change sources.redhat.com reference to gcc.gnu.org. 2001-02-08 01:49:53 +00:00
HACKING * HACKING: new file 2001-02-17 14:24:41 +00:00
interpret.cc exception.cc (java_eh_info): Make value type jthrowable. 2001-03-25 23:05:32 -08:00
jni.cc jni.cc (wrap_value<jobject>, [...]): Removed. 2001-04-06 17:38:52 +00:00
LIBGCJ_LICENSE All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
libgcj-test.spec.in configure: Rebuilt. 2000-03-04 21:50:19 +00:00
libgcj.spec.in IA-64 ABI Exception Handling. 2001-03-28 03:04:51 -08:00
libgcjdata.c All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
libtool-version * libtool-version: Updated current. 2001-04-05 15:12:41 +00:00
Makefile.am decl.c (init_decl_processing): Add new class "protectionDomain" field. 2001-04-25 16:45:15 +01:00
Makefile.in decl.c (init_decl_processing): Add new class "protectionDomain" field. 2001-04-25 16:45:15 +01:00
mauve-libgcj mauve-libgcj: Turned on JDK1.2 and turned off tests for classes that aren't quite 1.2... 2000-12-01 10:04:02 +00:00
name-finder.cc name-finder.cc (lookup): Check for a NULL _Jv_argv before attempting lookup. 2000-11-23 05:45:47 +00:00
NEWS Updated the NEWS 2000-02-15 09:35:51 +00:00
no-threads.cc All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
nogc.cc For boehm-gc: 2000-12-30 12:18:39 +00:00
posix-threads.cc exception.cc (java_eh_info): Make value type jthrowable. 2001-03-25 23:05:32 -08:00
posix.cc re PR libgcj/1351 (_Jv_select -vs- Thread.interrupt) 2001-02-13 18:44:51 +00:00
prims.cc exception.cc (java_eh_info): Make value type jthrowable. 2001-03-25 23:05:32 -08:00
README gcj.texi: Change sources.redhat.com reference to gcc.gnu.org. 2001-02-08 01:49:53 +00:00
resolve.cc exception.cc (java_eh_info): Make value type jthrowable. 2001-03-25 23:05:32 -08:00
THANKS More thanks. 2000-08-14 03:02:50 +00:00
win32-threads.cc For boehm-gc: 2000-12-30 12:18:39 +00:00

This is libgcj: the runtime library for gcj, the GNU Compiler for Java. 
libgcj provides a partial implementation of the Java Class Libraries.

libgcj is free software.  See the file LIBGCJ_LICENSE for copying permission.


DOCUMENTATION
=============

All documentation, including detailed installation and usage instructions,
can be found on the gcj web pages at this URL:

		http://gcc.gnu.org/java/


REQUIREMENTS
============

libgcj must be built with a compatible version of the gcc compiler. libgcj
releases are usually numbered according to their corresponding gcc release.
For example, if this is "libgcj 2.95.3", you need to build it using "gcc
2.95.3".


QUICK INSTALLATION
==================

  > mkdir build
  > cd build
  > ../libgcj/configure --enable-threads=<THREADS_TYPE> --prefix=<DIR>
  > make
  > make install

where:

<THREADS_TYPE> specifies the threads library to be used by libgcj. Currently 
the possible values are "posix" and "none". This value must be the same as
the value used when configuring gcc itself.

<DIR> specifies the installation directory. This should be the same location 
as where gcc is installed.

Consult the gcj web pages for additional "configure" arguments.

NOTE: libgcj can not be built in the same directory as `configure'. You must 
create a separate build directory. 


BUGS
====

Please submit bug reports via this URL:

	http://gcc.gnu.org/cgi-bin/gnatsweb.pl?database=gcc