gcc/libjava/include
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
..
boehm-gc.h
config.h.in Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
darwin-signal.h
default-signal.h
dwarf2-signal.h
execution.h
hppa-signal.h
i386-signal.h i386-signal.h: Rewrite to use rt_sigaction. 2007-01-12 12:30:56 +00:00
java-assert.h
java-chardecomp.h
java-chartables.h
java-cpool.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
java-insns.h
java-interp.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
java-props.h
java-stack.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
jni_md.h re PR java/29812 (env->klass value is not updated during the native calls) 2007-01-22 23:04:16 +00:00
jvm.h re PR java/29812 (env->klass value is not updated during the native calls) 2007-01-22 23:04:16 +00:00
jvmpi.h
jvmti_md.h
jvmti-int.h
Makefile.am
Makefile.in aclocal.m4: Regenerate to use multi.m4. 2007-01-17 19:48:52 +00:00
mips-signal.h
no-gc.h
no-threads.h
pa-signal.h
posix-threads.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
posix.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
powerpc-signal.h
s390-signal.h
sh-signal.h
sparc-signal.h
stamp-h.in
win32-signal.h
win32-threads.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
win32.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
x86_64-signal.h i386-signal.h: Rewrite to use rt_sigaction. 2007-01-12 12:30:56 +00:00