gcc/libjava/java/lang
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
..
ref natReference.cc (add_to_hash): Look at copy', not referent'. 2002-11-19 21:59:41 +00:00
reflect natField.cc (getBoolean): Use getType(). 2002-11-07 17:57:09 +00:00
AbstractMethodError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ArithmeticException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ArrayIndexOutOfBoundsException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ArrayStoreException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
AssertionError.java AssertionError.java: Merge with classpath, fixes HTML. 2002-09-16 09:46:37 +00:00
Boolean.java natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
Byte.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Character.java For PR libgcj/7292: 2002-07-12 21:13:16 +00:00
CharSequence.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Class.h natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_PushClass. 2002-12-03 13:50:05 +00:00
Class.java Class.h (_getDeclaredMethod): Declare. 2002-09-03 21:33:46 +00:00
ClassCastException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ClassCircularityError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ClassFormatError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ClassLoader.java ClassLoader.java (loadClass): Call loadClass on VMClassLoader, not findClass. 2002-11-04 06:17:55 +00:00
ClassNotFoundException.java ClassNotFoundException.java: New Classpath version. 2002-06-17 19:15:22 +00:00
Cloneable.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
CloneNotSupportedException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Comparable.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Compiler.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Double.java GNU Classpath merge. 2002-11-03 20:27:31 +00:00
dtoa.c
e_acos.c
e_asin.c
e_atan2.c
e_exp.c
e_fmod.c
e_log.c
e_pow.c
e_rem_pio2.c
e_remainder.c
e_scalb.c
e_sqrt.c
EcosProcess.java Fix for PR libgcj/7570 and PR libgcj/7578: 2002-08-14 01:07:59 +00:00
Error.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Exception.java Merge JDK 1.4 exception chaining support from classpath. 2002-05-24 11:40:47 +01:00
ExceptionInInitializerError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
fdlibm.h
Float.java natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
ieeefp.h ieeefp.h: Add x86-64 support. 2002-07-19 16:41:15 +02:00
IllegalAccessError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IllegalAccessException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IllegalArgumentException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IllegalMonitorStateException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IllegalStateException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IllegalThreadStateException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IncompatibleClassChangeError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IndexOutOfBoundsException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
InheritableThreadLocal.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
InstantiationError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
InstantiationException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Integer.java natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
InternalError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
InterruptedException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
k_cos.c
k_rem_pio2.c
k_sin.c
k_tan.c
LinkageError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Long.java natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
Math.java
mprec.c
mprec.h
natCharacter.cc
natClass.cc natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_PushClass. 2002-12-03 13:50:05 +00:00
natClassLoader.cc natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_PushClass. 2002-12-03 13:50:05 +00:00
natDouble.cc
natEcosProcess.cc
natFloat.cc
natMath.cc
natObject.cc aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added 2002-10-21 01:50:14 +00:00
natPosixProcess.cc natPosixProcess.cc (cleanup): Added `path' argument. 2002-08-14 19:53:54 +00:00
natRuntime.cc natRuntime.cc (insertSystemProperties): Set gnu.classpath.home. 2002-11-14 18:28:07 +00:00
natString.cc natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
natStringBuffer.cc
natSystem.cc re PR libgcj/6389 (System.getProperty("") should always throw an IllegalArgumentException) 2002-05-13 20:10:37 +00:00
natThread.cc
natVMThrowable.cc natClass.cc (initializeClass): Throw NoClassDefFoundError with getName() as message. 2002-11-10 21:07:27 +00:00
natWin32Process.cc
NegativeArraySizeException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NoClassDefFoundError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NoSuchFieldError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NoSuchFieldException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NoSuchMethodError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NoSuchMethodException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NullPointerException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Number.java natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
NumberFormatException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Object.h
Object.java
OutOfMemoryError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Package.java
PosixProcess.java Fix for PR libgcj/7570 and PR libgcj/7578: 2002-08-14 01:07:59 +00:00
Process.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Runnable.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Runtime.java Fix for PR libgcj/7570 and PR libgcj/7578: 2002-08-14 01:07:59 +00:00
RuntimeException.java RuntimeException.java: Re-merge with Classpath. 2002-06-16 21:15:44 +00:00
RuntimePermission.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
s_atan.c
s_ceil.c
s_copysign.c
s_cos.c
s_fabs.c
s_floor.c
s_rint.c
s_scalbn.c
s_sin.c
s_tan.c
SecurityException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
SecurityManager.java SecurityManager.java: Remerge comments, indenting and checkXXX methods with Classpath. 2002-12-01 16:16:19 +00:00
sf_fabs.c
sf_rint.c
Short.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
StackOverflowError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
StackTraceElement.java natThrowable.cc (printRawStackTrace): removed. 2002-07-12 12:52:44 +00:00
StrictMath.java
String.java natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
StringBuffer.java
StringIndexOutOfBoundsException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
strtod.c
System.java re PR libgcj/6389 (System.getProperty("") should always throw an IllegalArgumentException) 2002-05-13 20:10:37 +00:00
Thread.java Thread.java (setDaemon): Check startable_flag, not isAlive(). 2002-10-07 21:02:38 +00:00
ThreadDeath.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ThreadGroup.java javaprims.h: Updated class declaration list. 2002-06-18 15:40:16 +00:00
ThreadLocal.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Throwable.java * java/lang/Throwable.java: Remerge with Classpath. 2002-10-04 16:47:36 +00:00
UnknownError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
UnsatisfiedLinkError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
UnsupportedClassVersionError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
UnsupportedOperationException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
VerifyError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
VirtualMachineError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
VMClassLoader.java Add Proxy support. 2002-09-30 05:19:09 +00:00
VMSecurityManager.java
VMThrowable.java natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_PushClass. 2002-12-03 13:50:05 +00:00
Void.java natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
w_acos.c
w_asin.c
w_atan2.c
w_exp.c
w_fmod.c
w_log.c
w_pow.c
w_remainder.c
w_sqrt.c
Win32Process.java Fix for PR libgcj/7570 and PR libgcj/7578: 2002-08-14 01:07:59 +00:00