gcc/libjava java/lang/natClassLoader.cc java/l ...

aph@gcc.gnu.org aph@gcc.gnu.org
Thu Aug 5 17:43:00 GMT 2004


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcj-abi-2-dev-branch
Changes by:	aph@gcc.gnu.org	2004-08-05 17:43:00

Modified files:
	libjava/java/lang: natClassLoader.cc System.java 
	libjava/testsuite/libjava.compile: compile.exp 
	libjava        : ChangeLog 

Log message:
	2004-08-05  Andrew Haley  <aph@redhat.com>
	
	* java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Look
	aside for "GCJLIBS" in directory where jarfiles are loaded.
	(JarURLLoader.getClass): New method.
	(JarURLLoader.toString):  New method.
	(FileResource.toString):  New method.
	* java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
	Remove "Duplicate class registration: " bug.
	(_registerClass): New method.
	* java/lang/natClass.cc (_Jv_LinkSymbolTable): Check method index.
	(_Jv_LinkSymbolTable): Call _Jv_LayoutClass().
	Add debugging.
	(_Jv_LayoutClass): Use getSuperclass() rather than directly
	accessing the field.
	* java/lang/ClassLoader.java (SharedLibHelpers): New variable.
	(defineClass): Call gcj to JIT-compile a class.
	(_registerClass): New method.
	* gnu/gcj/runtime/SharedLibHelper.java (findHelper): A shared
	library name can refer to more than one loaded library, so use a
	Set of SharedLibHelpers.
	If a shared library is already loaded, take a copy.
	(copyFile): New function.
	
	* testsuite/libjava.compile/compile.exp: Force
	-findirect-dispatch.
	
	* java/security/BasicPermission.java: Remove bogus checks.
	
	* java/lang/System.java (getenv0): New method.
	* java/lang/natSystem.cc (getenv0): New method.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/lang/natClassLoader.cc.diff?cvsroot=gcc&only_with_tag=gcj-abi-2-dev-branch&r1=1.64.8.2&r2=1.64.8.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/lang/System.java.diff?cvsroot=gcc&only_with_tag=gcj-abi-2-dev-branch&r1=1.14.18.1&r2=1.14.18.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/testsuite/libjava.compile/compile.exp.diff?cvsroot=gcc&only_with_tag=gcj-abi-2-dev-branch&r1=1.4&r2=1.4.18.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcj-abi-2-dev-branch&r1=1.2729.2.6&r2=1.2729.2.7



More information about the Gcc-cvs mailing list