gcc/libjava
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
..
classpath Imported GNU Classpath gcj-import-20051117. 2005-11-18 00:59:33 +00:00
gcj ia64-frame.h: Removed. 2005-11-25 04:15:15 +00:00
gnu standard.omit.in: Remove javax/rmi, org/omg, gnu/CORBA and gnu/javax/rmi. 2005-11-25 22:30:53 +00:00
include re PR java/18278 (JNI functions cannot return a weak reference) 2005-11-29 18:34:58 +00:00
java [multiple changes] 2005-11-17 20:38:40 +00:00
libltdl .cvsignore are not needed for subversion, remove them. 2005-10-31 18:20:58 +01:00
scripts standard.omit.in: Remove javax/rmi, org/omg, gnu/CORBA and gnu/javax/rmi. 2005-11-25 22:30:53 +00:00
sysdep ia64-frame.h: Removed. 2005-11-25 04:15:15 +00:00
testsuite re PR java/18278 (JNI functions cannot return a weak reference) 2005-11-29 18:34:58 +00:00
aclocal.m4 re PR libgcj/23367 (_Jv_FindMethodInCache is not thread-safe) 2005-09-27 20:03:09 +00:00
addr2name.awk
boehm.cc * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL. 2005-06-24 22:14:03 +00:00
ChangeLog re PR java/18278 (JNI functions cannot return a weak reference) 2005-11-29 18:34:58 +00:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
configure ia64-frame.h: Removed. 2005-11-25 04:15:15 +00:00
configure.ac ia64-frame.h: Removed. 2005-11-25 04:15:15 +00:00
configure.host re PR target/23602 (1081 test failures in libjava, when configured for i486-linux) 2005-10-05 11:19:26 -07:00
COPYING
darwin.cc
defineclass.cc re PR libgcj/16032 (libgcj should reject class files with incorrect version numbers) 2005-09-15 22:02:13 +00:00
exception.cc * exception.cc: Revert 05-17 gcc_unreachable change. 2005-05-19 18:28:35 -07:00
gij.cc gij.cc (nonstandard_opts_help): Add entry for -Xss. 2005-11-25 03:36:13 +00:00
HACKING * HACKING: Update instructions for classpath import. 2005-09-28 21:43:23 +00:00
interpret.cc re PR libgcj/16032 (libgcj should reject class files with incorrect version numbers) 2005-09-15 22:02:13 +00:00
jni.cc re PR java/18278 (JNI functions cannot return a weak reference) 2005-11-29 18:34:58 +00:00
LIBGCJ_LICENSE Update FSF address 2005-06-30 03:22:09 +00:00
libgcj-test.spec.in
libgcj.pc.in
libgcj.spec.in
libtool-version * libtool-version: Updated. 2005-07-01 23:43:39 +00:00
link.cc re PR java/24251 (BC-compiled interfaces in libgcj can't be called from non-BC code) 2005-10-13 17:36:07 +00:00
Makefile.am ia64-frame.h: Removed. 2005-11-25 04:15:15 +00:00
Makefile.in standard.omit.in: Remove javax/rmi, org/omg, gnu/CORBA and gnu/javax/rmi. 2005-11-25 22:30:53 +00:00
mauve-libgcj mauve-libgcj: Disable javax.rmi.* and java.io.InputStreamReader.getEncoding. 2005-11-07 21:31:50 +00:00
mingwld.m4 Makefile.am (ACLOCAL_AMFLAGS): Also include "..". 2005-08-22 22:36:35 +00:00
NEWS
no-threads.cc
nogc.cc
pkg.m4
posix-threads.cc re PR libgcj/25016 (Integer overflow in _Jv_CondWait) 2005-11-25 16:18:17 +00:00
posix.cc
prims.cc Implement -Xss. 2005-11-17 20:25:57 +00:00
README
shlibpath.m4 re PR libgcj/23762 (java.library.path should default to value of environment variable specified by LTDL_SHLIBPATH_VAR) 2005-09-12 23:50:01 +00:00
sources.am standard.omit.in: Remove javax/rmi, org/omg, gnu/CORBA and gnu/javax/rmi. 2005-11-25 22:30:53 +00:00
stacktrace.cc re PR libgcj/23507 (gij testsuite failures) 2005-08-21 23:35:46 +00:00
standard.omit.in standard.omit.in: Remove javax/rmi, org/omg, gnu/CORBA and gnu/javax/rmi. 2005-11-25 22:30:53 +00:00
THANKS
verify.cc re PR libgcj/16032 (libgcj should reject class files with incorrect version numbers) 2005-09-15 22:02:13 +00:00
win32-threads.cc
win32.cc

This is libgcj: the runtime library for gcj, the GNU Compiler for Java. 
libgcj provides a partial implementation of the Java Class Libraries.

libgcj is free software.  See the file LIBGCJ_LICENSE for copying permission.


DOCUMENTATION
=============

All documentation, including detailed installation and usage instructions,
can be found on the gcj web pages at this URL:

		http://gcc.gnu.org/java/

BUGS
====

Please submit bug reports via this URL:

	http://gcc.gnu.org/bugzilla