gcc/libjava/java/lang
Bryce McKinlay 2dc55bc99f Makefile.am: New friends for java/lang/Thread.h.
* Makefile.am: New friends for java/lang/Thread.h.
	* prims.cc (runFirst): Removed.
	(JvRunMain): Merged into _Jv_RunMain. Now just calls that.
	(_Jv_RunMain): Now takes either a klass or class name parameter.
	Create a gnu.gcj.runtime.FirstThread and attach the native thread
	to that, then run it using _Jv_ThreadRun. Remove special handling of
	jar files, instead pass is_jar parameter through to FirstThread.
	* gcj/javaprims.h: Add prototypes for _Jv_ThreadRun and new variant
	of _Jv_AttachCurrentThread.
	* gnu/gcj/runtime/FirstThread.java (FirstThread): Now extends Thread.
	(run): New method. Take care of looking up main class manifest
	attribute and calling forName if neccessary. Then call call_main.
	(call_main): New native method.
	* gnu/gcj/runtime/natFirstThread.cc (call_main): New function, code
	relocated from prims.cc. Look up and call main method.
	* java/lang/Thread.java (run_): Removed.
	* java/lang/natThread.cc (run_): Renamed to...
	(_Jv_ThreadRun): this. JVMPI notification code moved to ...
	(_Jv_NotifyThreadStart): here. New function.
	(countStackFrames, destroy, resume, suspend, stop): Throw
	UnsupportedOperationExceptions rather than JvFail'ing.
	(_Jv_AttachCurrentThread): New variant takes a Thread argument.
	Existing version wraps new variant.

From-SVN: r45182
2001-08-26 12:30:09 +01:00
..
ref Makefile.am: Add HashSet.java and java/lang/ref classes. 2000-12-11 03:47:48 +00:00
reflect Field.java (toString): Use Method.appendClassName. 2001-08-24 17:24:44 +00:00
AbstractMethodError.java
ArithmeticException.java
ArrayIndexOutOfBoundsException.java
ArrayStoreException.java
Boolean.java javaprims.h: Rebuilt class list. 2001-07-23 20:01:29 +00:00
Byte.java javaprims.h: Rebuilt class list. 2001-07-23 20:01:29 +00:00
Character.java Character.java: Updated UnicodeBlock constants. 2000-12-15 05:53:39 +00:00
Class.h Field.java (toString): Use Method.appendClassName. 2001-08-24 17:24:44 +00:00
Class.java decl.c (init_decl_processing): Add new class "protectionDomain" field. 2001-04-25 16:45:15 +01:00
ClassCastException.java
ClassCircularityError.java
ClassFormatError.java
ClassLoader.java Class.h (_Jv_Self): New union type. 2001-05-06 14:42:11 +01:00
ClassNotFoundException.java
Cloneable.java
CloneNotSupportedException.java
Comparable.java
Compiler.java
Double.java Double.java (doubleToRawLongBits): Now native. 2001-02-09 22:13:33 +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
Error.java
Exception.java
ExceptionInInitializerError.java ExceptionInInitializerError.java (printStackTrace): Only try to print the subordinate stack trace if "exception" is set. 2001-03-12 07:47:13 +00:00
fdlibm.h
Float.java Double.java (doubleToRawLongBits): Now native. 2001-02-09 22:13:33 +00:00
ieeefp.h
IllegalAccessError.java
IllegalAccessException.java
IllegalArgumentException.java
IllegalMonitorStateException.java
IllegalStateException.java
IllegalThreadStateException.java
IncompatibleClassChangeError.java
IndexOutOfBoundsException.java
InstantiationError.java
InstantiationException.java
Integer.java * java/lang/Integer.java: Merged with Classpath. 2001-07-30 17:58:32 +00:00
InternalError.java
InterruptedException.java
k_cos.c
k_rem_pio2.c
k_sin.c
k_tan.c
LinkageError.java
Long.java javaprims.h: Rebuilt class list. 2001-07-23 20:01:29 +00:00
Math.java
mprec.c
mprec.h * java/lang/mprec.h: Change C9X reference to refer to C99. 2000-12-23 23:38:51 +00:00
natCharacter.cc
natClass.cc natClass.cc (_Jv_IsAssignableFrom): Ensure that ancestors table index is within allowed bounds. 2001-06-05 10:46:36 +01:00
natClassLoader.cc Look for lib-gnu-pkg-quux.so, not gnu-pkg-quux.so. 2001-08-22 23:10:07 +00:00
natDouble.cc exception.cc (java_eh_info): Make value type jthrowable. 2001-03-25 23:05:32 -08:00
natEcosProcess.cc
natFloat.cc Double.java (doubleToRawLongBits): Now native. 2001-02-09 22:13:33 +00:00
natMath.cc
natObject.cc * java/lang/natObject.cc (is_mp): Protect use of _SC_NPROCESSORS_ONLN. 2001-08-10 17:37:41 +00:00
natPosixProcess.cc exception.cc (java_eh_info): Make value type jthrowable. 2001-03-25 23:05:32 -08:00
natRuntime.cc natRuntime.cc (_Jv_FindSymbolInExecutable): Return NULL if no library on the list has the symbol. 2001-06-15 23:22:02 +00:00
natString.cc natIconv.cc (done): New methods. 2001-07-30 20:24:18 +00:00
natStringBuffer.cc javaprims.h (_Jv_FormatInt): New declaration. 2001-05-21 21:38:37 -07:00
natSystem.cc re PR libgcj/3059 (System doesn't set java.home property) 2001-06-08 19:09:04 +00:00
natThread.cc Makefile.am: New friends for java/lang/Thread.h. 2001-08-26 12:30:09 +01:00
natThrowable.cc configure.in (ia64-*): Don't set SYSDEP_SOURCES. 2001-05-11 23:25:03 -07:00
NegativeArraySizeException.java
NoClassDefFoundError.java
NoSuchFieldError.java
NoSuchFieldException.java
NoSuchMethodError.java
NoSuchMethodException.java
NullPointerException.java
Number.java javaprims.h: Rebuilt class list. 2001-07-23 20:01:29 +00:00
NumberFormatException.java
Object.h [multiple changes] 2001-05-24 05:40:37 +00:00
Object.java
OutOfMemoryError.java
Package.java decl.c (init_decl_processing): Add new class "protectionDomain" field. 2001-04-25 16:45:15 +01:00
PosixProcess.java
Process.java
Runnable.java
Runtime.java Runtime.java (_exit): Declare new package-private native. 2001-03-12 07:40:17 +00:00
RuntimeException.java
RuntimePermission.java * java/lang/RuntimePermission.java: Class now final. 2000-12-15 06:13:35 +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
SecurityManager.java
sf_fabs.c * java/lang/sf_fabs.c: Use uint32_t, not __uint32_t. 2001-01-25 19:07:18 +00:00
sf_rint.c
Short.java javaprims.h: Rebuilt class list. 2001-07-23 20:01:29 +00:00
StackOverflowError.java
String.java javaprims.h (_Jv_FormatInt): New declaration. 2001-05-21 21:38:37 -07:00
StringBuffer.java javaprims.h (_Jv_FormatInt): New declaration. 2001-05-21 21:38:37 -07:00
StringIndexOutOfBoundsException.java
strtod.c
System.java Runtime.java (_exit): Declare new package-private native. 2001-03-12 07:40:17 +00:00
Thread.java Makefile.am: New friends for java/lang/Thread.h. 2001-08-26 12:30:09 +01:00
ThreadDeath.java
ThreadGroup.java Runtime.java (_exit): Declare new package-private native. 2001-03-12 07:40:17 +00:00
ThreadLocal.java Makefile.am: Added `java/lang/ThreadLocal.java'. 2001-07-10 17:47:37 -07:00
Throwable.java Throwable.java (CPlusPlusDemangler): Pass -s java to c++filt to select java-style output. 2001-02-23 19:52:49 -08:00
UnknownError.java
UnsatisfiedLinkError.java
UnsupportedOperationException.java
VerifyError.java
VirtualMachineError.java
VMClassLoader.java VMClassLoader.java (getPrimitiveClass): Return correct type. 2001-07-24 14:31:42 +00:00
Void.java
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