gcc/libjava/include
Tom Tromey 3fd8010046 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
* java/lang/Package.java (getPackages): Use VMClassLoader when
	appropriate.
	(getPackage): Likewise.
	* prims.cc (_Jv_CreateJavaVM): Call
	_Jv_RegisterBootstrapPackages.
	* include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
	* java/lang/VMClassLoader.java (getPackage): Rewrote.
	(getPackages): Likewise.
	(definedPackages): New field.
	(definePackageForNative): New method.
	* java/lang/Class.h (_Jv_FindClassInCache): Updated.
	* java/lang/natVMClassLoader.cc (loadClass): Updated.
	* defineclass.cc (handleClassBegin): Use
	ClassLoader.findLoadedClass.
	* java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
	Rewrote.
	(struct _Jv_LoaderInfo): Removed.
	(initiated_classes): Likewise.
	(_Jv_UnregisterClass): Don't use initiated_classes.
	(_Jv_FindClassInCache): Likewise.  Removed 'loader' argument.
	(_Jv_FindClass): Register classes found during boostrap.
	(BOOTSTRAP_CLASS_LIST_SIZE): New define.
	(bootstrap_class_list): New global.
	(bootstrap_index): Likewise.
	(_Jv_RegisterBootstrapPackages): New function.
	* gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
	definePackageForNative.
	(findClass): Updated.
	* gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
	New method.

From-SVN: r93155
2005-01-10 19:39:26 +00:00
..
.cvsignore
boehm-gc.h boehm-gc.h: Include gc_ext_config.h, not gc_config.h. 2005-01-02 03:35:57 +00:00
config.h.in config.h.in: Regenerate. 2004-12-19 16:26:06 +00:00
darwin-signal.h
default-signal.h
dwarf2-signal.h
execution.h
i386-signal.h
java-assert.h
java-chardecomp.h
java-chartables.h
java-cpool.h
java-insns.h
java-interp.h
java-props.h
java-stack.h
jni.h
jvm.h PR libgcj/12016, PR libgcj/18405, PR libgcj/17738: 2005-01-10 19:39:26 +00:00
jvmpi.h
Makefile.am re PR libgcj/7305 (Install path for libgcj header files) 2004-12-03 11:15:25 +00:00
Makefile.in re PR libgcj/7305 (Install path for libgcj header files) 2004-12-03 11:15:25 +00:00
mips-signal.h
no-gc.h
no-threads.h no-threads.h (_Jv_ThreadDestroyData): Removed argument name. 2004-12-01 21:44:09 +00:00
pa-signal.h
posix-threads.h
posix.h
powerpc-signal.h
s390-signal.h
sh-signal.h
sparc-signal.h
stamp-h.in
win32-signal.h
win32-threads.h
win32.h
x86_64-signal.h