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 re PR libgcj/13212 (JNI/CNI AttachCurrentThread does not register thread with garbage collector) 2006-08-21 22:07:30 +00:00
config.h.in Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
darwin-signal.h Index: gcc/ChangeLog 2004-07-01 04:09:07 +00:00
default-signal.h prims.cc (unblock_signal): Annotate signum with __unused__ to avoid warnings in the non-POSIX_VERSION case. 2004-09-26 13:38:49 -07:00
dwarf2-signal.h prims.cc (catch_segv): Create exception in handler. 2003-06-13 12:20:45 +00:00
execution.h prims.cc (_Jv_soleIndirectCompiledEngine): New. 2006-05-10 17:17:20 +00:00
hppa-signal.h configure.ac: Add the POSIX thread libs to the HP-UX PA configuration. 2006-05-20 23:33:07 +02:00
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 unicode-muncher.pl: Removed this file. 2006-03-28 16:12:52 +00:00
java-cpool.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
java-insns.h java-insns.h (enum java_code): Add op_breakpoint. 2006-10-14 20:11:12 +00:00
java-interp.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
java-props.h re PR libgcj/23761 (java.library.path doesn't affect module loading path) 2005-09-08 21:26:25 +00:00
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.cc (_Jv_JVMTI_DisposeEnvironment): Check for enabled events. 2006-09-22 02:12:12 +00:00
jvmti-int.h jvmti-int.h (JVMTI): Declare all members "extern". 2006-10-12 18:18:52 +00:00
Makefile.am Imported Classpath 0.18. 2005-09-23 21:31:04 +00:00
Makefile.in aclocal.m4: Regenerate to use multi.m4. 2007-01-17 19:48:52 +00:00
mips-signal.h mips-signal.h (sys/syscall.h): Do not include. 2006-11-20 19:49:08 +00:00
no-gc.h no-gc.h (_Jv_SuspendThread): Declare. 2006-06-26 16:31:06 +00:00
no-threads.h re PR libgcj/28546 (./java/lang/Thread.h:31: error: using typedef-name '_Jv_Thread_t' after 'class') 2006-08-02 22:18:05 +02:00
pa-signal.h pa32-linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define. 2004-07-09 03:39:35 +00:00
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 powerpc-signal.h: Fix typo in comment. 2006-03-10 23:31:15 +01:00
s390-signal.h s390.md ("udivsi3"): Ensure trap is generated for division by zero. 2004-07-14 13:09:09 +00:00
sh-signal.h linux-unwind.h (shmedia_fallback_frame_state): Set fs->signal_frame. 2006-03-16 02:44:10 +00:00
sparc-signal.h prims.cc (unblock_signal): Annotate signum with __unused__ to avoid warnings in the non-POSIX_VERSION case. 2004-09-26 13:38:49 -07:00
stamp-h.in
win32-signal.h prims.cc (catch_segv): Create exception in handler. 2003-06-13 12:20:45 +00:00
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