gcc/libjava/testsuite
Tom Tromey 262fa8a4b5 re PR java/29812 (env->klass value is not updated during the native calls)
PR java/29812:
	* testsuite/libjava.jni/pr29812.java: New file.
	* testsuite/libjava.jni/pr29812_injar.java: New file.
	* testsuite/libjava.jni/pr29812_injar.jar: New file.
	* testsuite/libjava.jni/pr29812.out: New file.
	* testsuite/libjava.jni/pr29812_injar.c: New file.
	* testsuite/libjava.jni/pr29812_injar.h: New file.
	* testsuite/libjava.jni/pr29812.jar: New file.
	* testsuite/libjava.jni/pr29812.c: New file.
	* testsuite/libjava.jni/pr29812.h: New file.
	* testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
	New proc.
	(gcj_jni_invocation_test_one): Use it.
	(gcj_jni_pr29812): New proc.
	(gcj_jni_run): Use it.
	* java/lang/natRuntime.cc (_load): Push a new system frame before
	calling JNI_OnLoad.
	* include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
	(_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
	* jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
	<allocated_p>: Now bool.
	<loader>: New field.
	(_Jv_JNI_EnsureLocalCapacity): Updated.
	(_Jv_JNI_NewLocalRef): Likewise.
	(_Jv_JNI_NewLocalRef): Likewise.
	(_Jv_JNI_PopLocalFrame): Likewise.
	(_Jv_JNI_FindClass): Likewise.
	(_Jv_GetJNIEnvNewFrame): Likewise.
	(_Jv_JNI_AttachCurrentThread): Likewise.
	(_Jv_GetJNIEnvNewFrameWithLoader): New function.
	(_Jv_GetJNIEnvNewFrame): Use it.
	* include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.

From-SVN: r121064
2007-01-22 23:04:16 +00:00
..
config Initial revision 1999-04-07 14:42:40 +00:00
lib Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
libjava.cni Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
libjava.jar jar.exp (gcj_jar_interpret): Updated. 2004-12-21 01:01:08 +00:00
libjava.jni re PR java/29812 (env->klass value is not updated during the native calls) 2007-01-22 23:04:16 +00:00
libjava.jvmti natevents.cc (FieldModificationCB): Use %#llx instead of %d for new_value. 2007-01-16 19:58:18 +00:00
libjava.lang Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
libjava.loader Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
libjava.mauve xfails: Updated to reflect current state of mauve and libjava. 2005-06-26 22:41:31 +02:00
libjava.special Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
libjava.verify jar.exp (gcj_jar_interpret): Updated. 2004-12-21 01:01:08 +00:00
ChangeLog-old re PR java/15769 (ICE: infinite recursion through gimplify_expr) 2004-06-08 06:30:33 -07:00
Makefile.am gxx-include-dir.m4: In all substitutions, leave $(gcc_version) to be expanded by the Makefile. 2005-03-21 18:12:32 +00:00
Makefile.in aclocal.m4: Regenerate to use multi.m4. 2007-01-17 19:48:52 +00:00