gcc/libjava/include
Tom Tromey 3141ed0fe0 re PR java/18278 (JNI functions cannot return a weak reference)
gcc/java:
	PR java/18278:
	* expr.c (build_jni_stub): Unwrap the return value.
	* java-tree.h (soft_unwrapjni_node): New define.
	(enum java_tree_index): Added JTI_SOFT_UNWRAPJNI_NODE.
	* decl.c (java_init_decl_processing): Initialize
	soft_unwrapjni_node.
libjava:
	PR java/18278:
	* testsuite/libjava.jni/pr18278.out: New file.
	* testsuite/libjava.jni/pr18278.c: New file.
	* testsuite/libjava.jni/pr18278.java: New file.
	* include/jvm.h (_Jv_UnwrapJNIweakReference): Declare.
	* jni.cc (_Jv_UnwrapJNIweakReference): New function.
	(call): Unwrap return value if needed.

From-SVN: r107676
2005-11-29 18:34:58 +00:00
..
boehm-gc.h boehm-gc.h: Include gc_ext_config.h, not gc_config.h. 2005-01-02 03:35:57 +00:00
config.h.in re PR libgcj/23367 (_Jv_FindMethodInCache is not thread-safe) 2005-09-27 20:03:09 +00:00
darwin-signal.h
default-signal.h
dwarf2-signal.h
execution.h * Merged gcj-abi-2-dev-branch to trunk. 2004-11-25 03:47:08 +00:00
i386-signal.h re PR libgcj/22084 (Divide_1 test case hangs) 2005-09-09 13:05:20 +00:00
java-assert.h
java-chardecomp.h
java-chartables.h Update FSF address 2005-06-30 03:22:09 +00:00
java-cpool.h
java-insns.h
java-interp.h re PR libgcj/16032 (libgcj should reject class files with incorrect version numbers) 2005-09-15 22:02:13 +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 stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect interpreter-specific code with #ifdef INTERPRETER. 2005-03-16 18:18:59 +00:00
jni_md.h Update FSF address 2005-06-30 03:22:09 +00:00
jvm.h re PR java/18278 (JNI functions cannot return a weak reference) 2005-11-29 18:34:58 +00:00
jvmpi.h
Makefile.am Imported Classpath 0.18. 2005-09-23 21:31:04 +00:00
Makefile.in ia64-frame.h: Removed. 2005-11-25 04:15:15 +00:00
mips-signal.h
no-gc.h
no-threads.h no-threads.h (_Jv_ThreadDestroyData): Removed argument name. 2004-12-01 21:44:09 +00:00
pa-signal.h
posix-threads.h
posix.h posix.h: .dylib is used on all Apple MACH platforms. 2005-03-22 20:10:16 +00:00
powerpc-signal.h
s390-signal.h
sh-signal.h sh-signal.h (MAKE_THROW_FRAME): Remove trailing whitespace. 2005-11-04 04:35:34 +00:00
sparc-signal.h
stamp-h.in
win32-signal.h
win32-threads.h
win32.h
x86_64-signal.h