gcc/libjava/include
Andrew Haley 421f9e6091 natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_PushClass.
2002-12-03  Andrew Haley  <aph@redhat.com>

        * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
	_Jv_PushClass.
        (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
        (_Jv_PopClass): New.
        (_Jv_PushClass): New.
        * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
        discover the ClassLoader of our caller.
        (_Jv_CheckArrayStore): Don't check that a class is assignment
        compatible with Object.
        * java/lang/natVMTHrowable.cc: Delete.
        * gnu/gcj/runtime/StackTrace.java: New, partly copied from
	java.lang.VMThrowable.
        (StackTrace(), StackTrace(int)): New constructors.
        (classAt, methodAt, update, methodAtAddress): New methods.
        (map): New field.
	* java/lang/VMThrowable.java: Use StackTrace instead of
	natVMTHrowable.
	* java/lang/Class.h (getClassLoaderInternal): New.
        (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
        Be friendly with gnu::gcj::runtime::StackTrace.
        (Object.chain): New field.
        * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
        gnu::gcj::runtime::StackTrace.
        * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
        instead of getClassLoader().
        * verify.cc (class _Jv_BytecodeVerifier): Likewise.
        java::lang::VMThrowable.
        * Makefile.am (core_java_source_files): Add MethodRef.java,
	StackTrace.java.
        (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
        * Makefile.in: Rebuild.

2002-12-03  Andrew Haley  <aph@redhat.com>

	* class.c (make_class_data): New field, "chain".
	* decl.c (java_init_decl_processing): Likewise.

From-SVN: r59769
2002-12-03 13:50:05 +00:00
..
.cvsignore cvsignore: New file to ignore files generated during build. 2002-10-10 05:21:53 +00:00
boehm-gc.h
config.h.in aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added 2002-10-21 01:50:14 +00:00
default-signal.h
dwarf2-signal.h
i386-signal.h
java-assert.h
java-chardecomp.h
java-chartables.h
java-cpool.h
java-insns.h
java-interp.h natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_PushClass. 2002-12-03 13:50:05 +00:00
java-props.h
jni.h jni.cc: Added `name' argument. 2002-12-03 03:54:05 +00:00
jvm.h jvm.h (struct _Jv_frame_info): New structure. 2002-08-29 17:53:28 +00:00
jvmpi.h
Makefile.am
Makefile.in ObjectInputStream.java (resolveProxyClass): New method from Classpath. 2002-10-01 03:46:43 +00:00
no-gc.h
no-threads.h
posix-threads.h
posix.h natPlainDatagramSocketImpl.cc (socklen_t): Don't define. 2002-11-26 20:09:28 +00:00
s390-signal.h
sparc-signal.h
stamp-h.in
win32-signal.h
win32-threads.h aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added 2002-10-21 01:50:14 +00:00
win32.h 2002-11-22 Michael Koch <konqueror@gmx.de> 2002-11-22 10:27:53 +00:00