gcc/libjava/java/lang
Tom Tromey 91edd042ff Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (ordinary_java_source_files): Added new files.
	* java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
	friend.
	* java/net/URLClassLoader.java (findClass): Don't use
	findURLResource.  Use loader's getClass method.
	(URLLoader.getClass): New method.
	(addURL): Handle `gcjlib' URLs.
	(SoURLLoader): New class.
	(SoResource): Likewise.
	* gnu/gcj/protocol/gcjlib/Connection.java: New file.
	* gnu/gcj/protocol/gcjlib/Handler.java: New file.
	* include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
	(_Jv_RegisterCoreHook): Declare.
	(_Jv_FindCore): Declare.
	* gnu/gcj/runtime/SharedLibHelper.java: New file.
	* gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
	typedef.
	(core_hook): New function.
	(struct SharedLibDummy) [saved_core]: New field.
	(init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
	(register_hook): Set protection domain and class loader on new
	class.
	(finalize): Free core chain.
	* gnu/gcj/Core.java (Core): New constructor.
	* gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
	SharedLibHelper.
	* gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
	(_Jv_create_core): New function.
	(create): Use it.
	(default_register_resource): New function.
	(_Jv_RegisterCoreHook): New global.
	(_Jv_RegisterResource): Use it.
	(core_chain_struct): Removed.
	(_Jv_FindCore): New function.
	(_Jv_FreeCoreChain): New function.

From-SVN: r70892
2003-08-28 22:17:37 +00:00
..
ref Reference.java (get): Indentation fix. 2003-08-26 16:31:12 +00:00
reflect re PR libgcj/12058 (java.lang.reflect.Array.set(Object, int, Object) throws java.lang.IllegalArgumentException) 2003-08-26 14:55:30 +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 * java/lang/Character.java (forDigit): Formatting fix. 2002-12-03 20:13:43 +00:00
CharSequence.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Class.h Makefile.in: Rebuilt. 2003-08-28 22:17:37 +00:00
Class.java Runtime.java: Comment fix. 2003-07-21 01:54:06 +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 Runtime.java: Comment fix. 2003-07-21 01:54:06 +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 cni.h: CNI now expands to Compiled Native Interface. 2003-07-08 21:27:37 +00:00
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 cni.h: CNI now expands to Compiled Native Interface. 2003-07-08 21:27:37 +00:00
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: Handle ARM platforms that have pure-endian floating point. 2003-04-16 18:32:06 +00: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 StrictMath.java: Typo fix. 2003-08-26 23:14:07 +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 StrictMath.java: Typo fix. 2003-08-26 23:14:07 +00:00
mprec.c
mprec.h
natCharacter.cc unicode-decomp.pl: Move from chartables.pl... 2002-03-06 18:54:45 +00:00
natClass.cc Runtime.java: Comment fix. 2003-07-21 01:54:06 +00:00
natClassLoader.cc natClass.cc (initializeClass): Check tables when (state == JV_STATE_IN_PROGRESS). 2003-01-30 23:20:45 +00:00
natDouble.cc natDouble.cc (parseDouble): Allow a number to end with the f/F/d/D modifiers. 2002-04-15 03:11:12 +00:00
natEcosProcess.cc
natFloat.cc
natMath.cc
natObject.cc * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &. 2003-03-15 01:04:08 +00:00
natPosixProcess.cc natPosixProcess.cc (cleanup): Added `path' argument. 2002-08-14 19:53:54 +00:00
natRuntime.cc [multiple changes] 2003-08-08 16:26:00 +00:00
natString.cc natString.cc (init(gnu.gcj.runtime.StringBuffer)): New method. 2003-07-28 16:12:00 +00:00
natStringBuffer.cc natStringBuffer.cc (regionMatches): New function. 2003-03-24 00:50:18 +00:00
natSystem.cc * java/lang/natSystem.cc (arraycopy): Check for overflow. 2003-07-23 15:31:43 +00:00
natThread.cc Makefile.in: Rebuilt. 2002-04-10 20:36:04 +00:00
natVMSecurityManager.cc natVMSecurityManager.cc (getClassContext): Use maxlen instead of len for loop bound. 2003-06-18 14:13:59 +00:00
natWin32Process.cc Win32Process.java (ConcreteProcess): Surround a command line element with quotes if it contains an embedded space or tab. 2003-07-27 04:13:03 +00:00
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 Proxy.java: New version from Classpath. 2003-03-29 01:34:23 +00:00
PosixProcess.java Fix for PR libgcj/7570 and PR libgcj/7578: 2002-08-14 01:07:59 +00:00
Process.java Process.java: Merged from classpath. 2003-03-19 12:15:04 +00:00
Runnable.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Runtime.java Runtime.java: Comment fix. 2003-07-21 01:54:06 +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 StrictMath.java: Typo fix. 2003-08-26 23:14:07 +00:00
String.java natString.cc (init(gnu.gcj.runtime.StringBuffer)): New method. 2003-07-28 16:12:00 +00:00
StringBuffer.java natStringBuffer.cc (regionMatches): New function. 2003-03-24 00:50:18 +00:00
StringIndexOutOfBoundsException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
strtod.c
System.java System.java: Explicitely import needed classes. 2003-05-27 06:03:14 +00:00
Thread.java Thread.java (Thread): Check for null "name" from start of private constructor... 2003-08-07 02:12:27 +01:00
ThreadDeath.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ThreadGroup.java StrictMath.java: Typo fix. 2003-08-26 23:14:07 +00:00
ThreadLocal.java StrictMath.java: Typo fix. 2003-08-26 23:14:07 +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 Makefile.in: Rebuilt. 2002-12-05 00:49:30 +00:00
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_exp.c (o_threshold, [...]): Define only if _IEEE_LIBM is undefined. 2003-06-06 03:34:36 +00:00
w_fmod.c
w_log.c
w_pow.c
w_remainder.c
w_sqrt.c
Win32Process.java Win32Process.java (ConcreteProcess): Surround a command line element with quotes if it contains an embedded space or tab. 2003-07-27 04:13:03 +00:00