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
config.h.in
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
Makefile.in
mips-signal.h
no-gc.h
no-threads.h
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