gcc/libjava/java/lang
Tom Tromey aaf0766e9f natNativeThread.cc: New file.
* gnu/gcj/jni/natNativeThread.cc: New file.
	* gnu/gcj/jni/NativeThread.java: New file.
	* java/lang/Thread.java (data): Now a RawData.
	* include/jvm.h (_Jv_GetCurrentJNIEnv, _Jv_SetCurrentJNIEnv):
	Declare.
	* Makefile.in: Rebuilt.
	* Makefile.am (java/lang/Thread.h): New target.
	(ordinary_java_source_files): Added NativeThread.java.
	(nat_source_files): Added natNativeThread.cc.
	* java/lang/natThread.cc: Include <jni.h>
	(struct natThread): Added `jni_env' field.
	(_Jv_GetCurrentJNIEnv): New function.
	(_Jv_SetCurrentJNIEnv): Likewise.
	(initialize_native): Initialize jni_env.
	Include RawData.h.
	* jni.cc (ThreadGroupClass): New define.
	(_Jv_JNI_InvokeFunctions): New structure.
	(JNI_GetCreatedJavaVMs): New function.
	(the_vm): New global.
	(JNI_GetDefaultJavaVMInitArgs): New function.
	Include NativeThread.h.
	(NativeThreadClass): New define.
	(_Jv_JNI_EnsureLocalCapacity): Return JNI_ERR, not -1.
	(_Jv_JNI_DestroyJavaVM): New function.
	(_Jv_JNI_AttachCurrentThread): New function.
	(_Jv_JNI_DetachCurrentThread): New function.
	(_Jv_JNI_GetEnv): New function.
	(JNI_CreateJavaVM): New function.
	(_Jv_JNI_GetJavaVM): New function.
	(_Jv_JNIFunctions): Added entry for GetJavaVM.
	* include/jni.h (JavaVMAttachArgs): New structure.
	(JNI_EDETACHED): New define.
	(JNI_EVERSION): Likewise.
	(JavaVM): Define properly.
	(struct JNIInvokeInterface): New structure.
	(class _Jv_JavaVM): New class.
	(JNI_OnLoad, JNI_OnUnload): Declare.
	(JNI_GetDefaultJavaVMInitArgs, JNI_CreateJavaVM,
	JNI_GetCreatedJavaVMs): Declare.
	(JavaVMInitArgs): New typedef.
	(JavaVMOption): Likewise.
	(JNI_ERR): New define.
	(JNI_OK): Likewise.

From-SVN: r31901
2000-02-10 20:31:48 +00:00
..
reflect natConstructor.cc (newInstance): Use _Jv_CallAnyMethodA. 2000-01-21 23:50:31 +00:00
AbstractMethodError.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
ArithmeticException.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
ArrayIndexOutOfBoundsException.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
ArrayStoreException.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Boolean.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Byte.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Character.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Class.h method.h (JvNumMethods): Moved from Class.h. 2000-01-26 23:56:36 +00:00
Class.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
ClassCastException.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
ClassCircularityError.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
ClassFormatError.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
ClassLoader.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
ClassNotFoundException.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Cloneable.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
CloneNotSupportedException.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Comparable.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Compiler.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Double.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +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 * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Error.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Exception.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
ExceptionInInitializerError.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
fdlibm.h natMath.cc (pow): Cast args to double', not jdouble'. 2000-01-10 20:02:47 +00:00
FirstThread.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Float.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
ieeefp.h
IllegalAccessError.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
IllegalAccessException.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
IllegalArgumentException.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
IllegalMonitorStateException.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
IllegalStateException.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
IllegalThreadStateException.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
IncompatibleClassChangeError.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
IndexOutOfBoundsException.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
InstantiationError.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
InstantiationException.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Integer.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
InternalError.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
InterruptedException.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
k_cos.c
k_rem_pio2.c
k_sin.c
k_tan.c
LinkageError.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Long.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Math.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
mprec.c
mprec.h natMath.cc (pow): Cast args to double', not jdouble'. 2000-01-10 20:02:47 +00:00
natCharacter.cc * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
natClass.cc * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
natClassLoader.cc interpret.cc: Don't include fdlibm.h. 2000-02-10 17:16:30 +00:00
natDouble.cc * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
natEcosProcess.cc * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
natFirstThread.cc * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
natFloat.cc * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
natMath.cc * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
natObject.cc * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
natPosixProcess.cc * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
natRuntime.cc natRuntime.cc (_load): Call add_library. 2000-02-10 00:17:10 +00:00
natString.cc * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
natSystem.cc * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
natThread.cc natNativeThread.cc: New file. 2000-02-10 20:31:48 +00:00
natThrowable.cc Throwable.java (CPlusPlusDemangler): New class. 2000-02-04 16:59:35 +00:00
NegativeArraySizeException.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
NoClassDefFoundError.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
NoSuchFieldError.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
NoSuchFieldException.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
NoSuchMethodError.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
NoSuchMethodException.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
NullPointerException.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Number.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
NumberFormatException.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Object.h * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Object.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
OutOfMemoryError.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
PosixProcess.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Process.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Runnable.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Runtime.java Runtime.java (_load): Declare. 2000-02-08 00:26:58 +00:00
RuntimeException.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +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 * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
SecurityManager.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
sf_rint.c
Short.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
StackOverflowError.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
String.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
StringBuffer.java StringBuffer.java (StringBuffer): Don't special case null argument. 2000-01-17 00:00:43 +00:00
StringIndexOutOfBoundsException.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
strtod.c
System.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Thread.java natNativeThread.cc: New file. 2000-02-10 20:31:48 +00:00
ThreadDeath.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
ThreadGroup.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Throwable.java Throwable.java (CPlusPlusDemangler): New class. 2000-02-04 16:59:35 +00:00
UnknownError.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
UnsatisfiedLinkError.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
UnsupportedOperationException.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
VerifyError.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
VirtualMachineError.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Void.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +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