gcc/libjava/java/lang/reflect
Tom Tromey 8a9220959f natConstructor.cc (newInstance): Use _Jv_CallAnyMethodA.
* java/lang/reflect/natConstructor.cc (newInstance): Use
	_Jv_CallAnyMethodA.
	* include/jvm.h: Declare _Jv_CallAnyMethodA.
	* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Renamed
	from _Jv_CallNonvirtualMethodA.  Changed interface; overloaded.
	Include <jni.h>.
	(COPY): Removed.
	(invoke): Use _Jv_CallAnyMethodA.
	(VAL): Redefined.
	* java/lang/Class.h (Class): Declare JvGetFirstStaticField,
	JvNumStaticFields, JvNumMethods, and JvGetFirstMethod as friend
	functions.
	(struct _Jv_Method): Added getNextMethod method.
	(JvNumMethods): New function.
	(JvGetFirstMethod): Likewise.
	* gcj/field.h (JvGetFirstStaticField): New function.
	(JvNumStaticFields): Likewise.
	(getNextField): Renamed from getNextInstanceField.
	(struct _Jv_Field): New method getClass.
	* jni.cc: Wrote many new functions.
	* include/jni.h (JNI_TRUE): Define.
	(JNI_FALSE): Likewise.
	(jobject, jclass, jstring, jarray, jthrowable, jobjectArray,
	jbyteArray, jshortArray, jintArray, jlongArray, jbooleanArray,
	jcharArray, jfloatArray, jdoubleArray): New typedefs.
	(jfieldID, jmethodID): Likewise.
	(JNI_COMMIT, JNI_ABORT): New defines.
	(JNINativeMethod): New struct.
	(struct JNINativeInterface): Correctly declared more entries.
	(class _Jv_JNIEnv): Added `ex' member.
	(JNI_VERSION_1_1): New define.
	(JNI_VERSION_1_2): Likewise.

	* boehm.cc (_Jv_MarkObj): Use getNextField, not
	getNextInstanceField.

From-SVN: r31553
2000-01-21 23:50:31 +00:00
..
AccessibleObject.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Array.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Constructor.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Field.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
InvocationTargetException.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Member.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Method.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
Modifier.java * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
natArray.cc * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
natConstructor.cc natConstructor.cc (newInstance): Use _Jv_CallAnyMethodA. 2000-01-21 23:50:31 +00:00
natField.cc * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
natMethod.cc natConstructor.cc (newInstance): Use _Jv_CallAnyMethodA. 2000-01-21 23:50:31 +00:00