gcc/libjava/java/lang
Kresten Krab Thorup eb4534a636 natClassLoader.cc (_Jv_PrepareCompiledClass): Renamed from _Jv_InternClassStrings.
* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Renamed
	from _Jv_InternClassStrings.

	* prims.cc (_Jv_RunMain): New function.
	(JvRunMain): Remove gij-support.

	* gij.cc (main): Use _Jv_RunMain.

	* java/util/zip/ZipFile.java: Call readDirectory in constructor.

	* interpret.cc (PUSHA, PUSHI, PUSHF, PUSHL, PUSHD): Don't store
	argument in temp variable.
	(continue1): For all op_x2y insns, use temp variable for
	intermediate value.  Also remove some comments.

	* java/lang/natClass.cc (newInstance): Call _Jv_InitClass.
	(forName): Don't call _Jv_InitClass.

	* java/lang/Class.java (getResource,getResourceAsStream): Implement.

	* java/util/zip/ZipEntry.java (ZipEntry(ZipEntry)): New construcor.

	* java/util/jar/JarInputStream.java: New file.

	* java/util/jar/JarEntry.java: New file.

	* java/util/jar/JarFile.java: New file.

	* java/net/URLClassLoader.java: New file.

	* java/net/JarURLConnection.java: New file.

	* gnu/gcj/protocol/jar/Handler.java: New file.

	* gnu/gcj/protocol/jar/Connection.java: New file.

	* java/security/SecureClassLoader.java: New file.

	* java/lang/ClassLoader.java (parent): New variable.
	(ClassLoader (ClassLoader)): new constructor.
	(findClass): New method.
	(loadClass): Add default 1.2 implementation.
	(getSystemResourceAsBytes, getResourceAsBytes): Removed.
	(readfully): Removed.

	* gnu/gcj/runtime/VMClassLoader.java: Moved from java/lang.
	(findSystemClass): New method.
	(VMClassLoader): Constructor rewritten.
	(init): New method.
	All other methods removed.

	* java/lang/natClassLoader.cc: Change use of java::lang::VMClassLoader
	to gnu::gcj::runtime::VMClassLoader.
	(_Jv_InternClassStrings): Use _Jv_ResolvePoolEntry.  Also handle
	class entries.
	(VMClassLoader::findSystemClass): renamed from findBootClass.

	* Makefile.am: Add new files.
	(FirstThread.h, ThreadGroup.h): Add _Jv_Main friend.

	* Makefile.in: Rebuilt.

From-SVN: r28748
1999-08-18 14:16:42 +00:00
..
reflect [multiple changes] 1999-08-08 14:06:23 +00:00
AbstractMethodError.java Initial revision 1999-04-07 14:42:40 +00:00
ArithmeticException.java Initial revision 1999-04-07 14:42:40 +00:00
ArrayIndexOutOfBoundsException.java Initial revision 1999-04-07 14:42:40 +00:00
ArrayStoreException.java Initial revision 1999-04-07 14:42:40 +00:00
Boolean.java Initial revision 1999-04-07 14:42:40 +00:00
Byte.java Initial revision 1999-04-07 14:42:40 +00:00
Character.java Initial revision 1999-04-07 14:42:40 +00:00
Class.h natClassLoader.cc (_Jv_PrepareCompiledClass): Renamed from _Jv_InternClassStrings. 1999-08-18 14:16:42 +00:00
Class.java natClassLoader.cc (_Jv_PrepareCompiledClass): Renamed from _Jv_InternClassStrings. 1999-08-18 14:16:42 +00:00
ClassCastException.java Initial revision 1999-04-07 14:42:40 +00:00
ClassCircularityError.java Initial revision 1999-04-07 14:42:40 +00:00
ClassFormatError.java Initial revision 1999-04-07 14:42:40 +00:00
ClassLoader.java natClassLoader.cc (_Jv_PrepareCompiledClass): Renamed from _Jv_InternClassStrings. 1999-08-18 14:16:42 +00:00
ClassNotFoundException.java Initial revision 1999-04-07 14:42:40 +00:00
Cloneable.java Initial revision 1999-04-07 14:42:40 +00:00
CloneNotSupportedException.java Initial revision 1999-04-07 14:42:40 +00:00
Comparable.java Initial revision 1999-04-07 14:42:40 +00:00
Compiler.java Initial revision 1999-04-07 14:42:40 +00:00
Double.java Initial revision 1999-04-07 14:42:40 +00:00
dtoa.c [multiple changes] 1999-06-24 20:06:09 +00:00
e_acos.c [multiple changes] 1999-06-24 20:06:09 +00:00
e_asin.c [multiple changes] 1999-06-24 20:41:47 +00:00
e_atan2.c [multiple changes] 1999-06-24 20:06:09 +00:00
e_exp.c [multiple changes] 1999-06-24 20:06:09 +00:00
e_fmod.c [multiple changes] 1999-06-24 20:06:09 +00:00
e_log.c [multiple changes] 1999-06-24 20:06:09 +00:00
e_pow.c [multiple changes] 1999-06-24 20:06:09 +00:00
e_rem_pio2.c [multiple changes] 1999-06-24 20:06:09 +00:00
e_remainder.c [multiple changes] 1999-06-24 20:06:09 +00:00
e_scalb.c Initial revision 1999-04-07 14:42:40 +00:00
e_sqrt.c [multiple changes] 1999-06-24 20:06:09 +00:00
EcosProcess.java javaprims.h: Updated namespace declarations. 1999-05-12 11:23:44 +00:00
Error.java Initial revision 1999-04-07 14:42:40 +00:00
Exception.java Initial revision 1999-04-07 14:42:40 +00:00
ExceptionInInitializerError.java Initial revision 1999-04-07 14:42:40 +00:00
fdlibm.h [multiple changes] 1999-06-24 20:41:47 +00:00
FirstThread.java [multiple changes] 1999-08-08 14:06:23 +00:00
Float.java Initial revision 1999-04-07 14:42:40 +00:00
ieeefp.h ieeefp.h (__IEEE_LITTLE_ENDIAN): Define for alpha. 1999-06-21 15:42:12 +00:00
IllegalAccessError.java Initial revision 1999-04-07 14:42:40 +00:00
IllegalAccessException.java Initial revision 1999-04-07 14:42:40 +00:00
IllegalArgumentException.java Initial revision 1999-04-07 14:42:40 +00:00
IllegalMonitorStateException.java Initial revision 1999-04-07 14:42:40 +00:00
IllegalStateException.java Initial revision 1999-04-07 14:42:40 +00:00
IllegalThreadStateException.java Initial revision 1999-04-07 14:42:40 +00:00
IncompatibleClassChangeError.java Initial revision 1999-04-07 14:42:40 +00:00
IndexOutOfBoundsException.java Initial revision 1999-04-07 14:42:40 +00:00
InstantiationError.java Initial revision 1999-04-07 14:42:40 +00:00
InstantiationException.java Initial revision 1999-04-07 14:42:40 +00:00
Integer.java Long.java (parseLong): Corrected overflow detection code. 1999-04-08 11:57:28 +00:00
InternalError.java Initial revision 1999-04-07 14:42:40 +00:00
InterruptedException.java Initial revision 1999-04-07 14:42:40 +00:00
k_cos.c [multiple changes] 1999-06-24 20:06:09 +00:00
k_rem_pio2.c [multiple changes] 1999-06-24 20:06:09 +00:00
k_sin.c [multiple changes] 1999-06-24 20:06:09 +00:00
k_tan.c [multiple changes] 1999-06-24 20:06:09 +00:00
LinkageError.java Initial revision 1999-04-07 14:42:40 +00:00
Long.java Long.java (parseLong): Corrected overflow detection code. 1999-04-08 11:57:28 +00:00
Math.java Initial revision 1999-04-07 14:42:40 +00:00
mprec.c Initial revision 1999-04-07 14:42:40 +00:00
mprec.h mprec.h: Protect definition of uint32_t with #ifndef _UINT32_T. 1999-07-12 09:40:07 +00:00
natCharacter.cc * java/lang/natCharacter.cc (isLowerCase): Use a binary search. 1999-05-07 17:39:52 +00:00
natClass.cc natClassLoader.cc (_Jv_PrepareCompiledClass): Renamed from _Jv_InternClassStrings. 1999-08-18 14:16:42 +00:00
natClassLoader.cc natClassLoader.cc (_Jv_PrepareCompiledClass): Renamed from _Jv_InternClassStrings. 1999-08-18 14:16:42 +00:00
natDouble.cc natDouble.java (doubleToLongBits): ensure that all NaNs are always converted to the same long value. 1999-04-14 07:10:22 +00:00
natEcosProcess.cc javaprims.h: Updated namespace declarations. 1999-05-12 11:23:44 +00:00
natFirstThread.cc [multiple changes] 1999-08-08 14:06:23 +00:00
natFloat.cc natDouble.java (doubleToLongBits): ensure that all NaNs are always converted to the same long value. 1999-04-14 07:10:22 +00:00
natMath.cc Initial revision 1999-04-07 14:42:40 +00:00
natObject.cc * java/lang/natObject.cc (sync_init): Use _Jv_AllocBytesChecked. 1999-05-10 09:28:54 +00:00
natPosixProcess.cc Runtime.java (exec): Convert prog name and arguments to string array. 1999-06-09 18:42:26 +01:00
natRuntime.cc Makefile.in: Rebuilt. 1999-05-05 14:19:24 +00:00
natString.cc natString.cc (substring): optimize where substring is entire String. 1999-07-26 03:51:44 +01:00
natSystem.cc natSystem.cc (arraycopy): Use bcopy if memmove is not available. 1999-07-31 23:41:15 +00:00
natThread.cc natThread.cc (sleep): Turn 0 millis and 0 nanos into 1 nano. 1999-08-18 03:48:37 +00:00
NegativeArraySizeException.java Initial revision 1999-04-07 14:42:40 +00:00
NoClassDefFoundError.java Initial revision 1999-04-07 14:42:40 +00:00
NoSuchFieldError.java Initial revision 1999-04-07 14:42:40 +00:00
NoSuchFieldException.java Initial revision 1999-04-07 14:42:40 +00:00
NoSuchMethodError.java Initial revision 1999-04-07 14:42:40 +00:00
NoSuchMethodException.java Initial revision 1999-04-07 14:42:40 +00:00
NullPointerException.java Initial revision 1999-04-07 14:42:40 +00:00
Number.java Initial revision 1999-04-07 14:42:40 +00:00
NumberFormatException.java Initial revision 1999-04-07 14:42:40 +00:00
Object.h Initial revision 1999-04-07 14:42:40 +00:00
Object.java Initial revision 1999-04-07 14:42:40 +00:00
OutOfMemoryError.java Initial revision 1999-04-07 14:42:40 +00:00
PosixProcess.java javaprims.h: Updated namespace declarations. 1999-05-12 11:23:44 +00:00
Process.java Initial revision 1999-04-07 14:42:40 +00:00
Runnable.java Initial revision 1999-04-07 14:42:40 +00:00
Runtime.java Runtime.java (exec): Convert prog name and arguments to string array. 1999-06-09 18:42:26 +01:00
RuntimeException.java Initial revision 1999-04-07 14:42:40 +00:00
s_atan.c [multiple changes] 1999-06-24 20:06:09 +00:00
s_ceil.c [multiple changes] 1999-06-24 20:06:09 +00:00
s_copysign.c [multiple changes] 1999-06-24 20:06:09 +00:00
s_cos.c [multiple changes] 1999-06-24 20:06:09 +00:00
s_fabs.c [multiple changes] 1999-06-24 20:06:09 +00:00
s_floor.c [multiple changes] 1999-06-24 20:06:09 +00:00
s_rint.c [multiple changes] 1999-06-24 20:06:09 +00:00
s_scalbn.c [multiple changes] 1999-06-24 20:06:09 +00:00
s_sin.c [multiple changes] 1999-06-24 20:06:09 +00:00
s_tan.c [multiple changes] 1999-06-24 20:06:09 +00:00
SecurityException.java Initial revision 1999-04-07 14:42:40 +00:00
SecurityManager.java Initial revision 1999-04-07 14:42:40 +00:00
sf_rint.c [multiple changes] 1999-06-24 20:06:09 +00:00
Short.java Initial revision 1999-04-07 14:42:40 +00:00
StackOverflowError.java Initial revision 1999-04-07 14:42:40 +00:00
String.java String.java (toString): Check for this == null and throw NullPointerException. 1999-07-01 20:58:04 +01:00
StringBuffer.java StringBuffer.java (ensureCapacity): Don't resize vector when shared. 1999-04-30 09:31:00 +00:00
StringIndexOutOfBoundsException.java Initial revision 1999-04-07 14:42:40 +00:00
strtod.c Initial revision 1999-04-07 14:42:40 +00:00
System.java Initial revision 1999-04-07 14:42:40 +00:00
Thread.java Initial revision 1999-04-07 14:42:40 +00:00
ThreadDeath.java Initial revision 1999-04-07 14:42:40 +00:00
ThreadGroup.java Initial revision 1999-04-07 14:42:40 +00:00
Throwable.java Initial revision 1999-04-07 14:42:40 +00:00
UnknownError.java Initial revision 1999-04-07 14:42:40 +00:00
UnsatisfiedLinkError.java Initial revision 1999-04-07 14:42:40 +00:00
UnsupportedOperationException.java Initial revision 1999-04-07 14:42:40 +00:00
VerifyError.java Initial revision 1999-04-07 14:42:40 +00:00
VirtualMachineError.java [multiple changes] 1999-08-08 14:06:23 +00:00
Void.java Initial revision 1999-04-07 14:42:40 +00:00
w_acos.c Initial revision 1999-04-07 14:42:40 +00:00
w_asin.c Initial revision 1999-04-07 14:42:40 +00:00
w_atan2.c Initial revision 1999-04-07 14:42:40 +00:00
w_exp.c Initial revision 1999-04-07 14:42:40 +00:00
w_fmod.c Initial revision 1999-04-07 14:42:40 +00:00
w_log.c Initial revision 1999-04-07 14:42:40 +00:00
w_pow.c Initial revision 1999-04-07 14:42:40 +00:00
w_remainder.c Initial revision 1999-04-07 14:42:40 +00:00
w_sqrt.c Initial revision 1999-04-07 14:42:40 +00:00