3141ed0fe0
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 |
||
---|---|---|
.. | ||
boehm-gc.h | ||
config.h.in | ||
darwin-signal.h | ||
default-signal.h | ||
dwarf2-signal.h | ||
execution.h | ||
i386-signal.h | ||
java-assert.h | ||
java-chardecomp.h | ||
java-chartables.h | ||
java-cpool.h | ||
java-insns.h | ||
java-interp.h | ||
java-props.h | ||
java-stack.h | ||
jni_md.h | ||
jvm.h | ||
jvmpi.h | ||
Makefile.am | ||
Makefile.in | ||
mips-signal.h | ||
no-gc.h | ||
no-threads.h | ||
pa-signal.h | ||
posix-threads.h | ||
posix.h | ||
powerpc-signal.h | ||
s390-signal.h | ||
sh-signal.h | ||
sparc-signal.h | ||
stamp-h.in | ||
win32-signal.h | ||
win32-threads.h | ||
win32.h | ||
x86_64-signal.h |