[Bug java/18278] JNI functions cannot return a weak reference

2005-12-05 Thread tromey at gcc dot gnu dot org
-- tromey at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.1.0 |4.0.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18278

[Bug java/18278] JNI functions cannot return a weak reference

2005-12-05 Thread tromey at gcc dot gnu dot org
--- Comment #11 from tromey at gcc dot gnu dot org 2005-12-06 02:13 --- Subject: Bug 18278 Author: tromey Date: Tue Dec 6 02:13:54 2005 New Revision: 108096 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108096 Log: gcc/java PR java/18278: * expr.c (build_jni_st

[Bug java/18278] JNI functions cannot return a weak reference

2005-11-29 Thread tromey at gcc dot gnu dot org
--- Comment #10 from tromey at gcc dot gnu dot org 2005-11-29 21:14 --- Fix checked in. -- tromey at gcc dot gnu dot org changed: What|Removed |Added Status|A

[Bug java/18278] JNI functions cannot return a weak reference

2005-11-29 Thread tromey at gcc dot gnu dot org
--- Comment #9 from tromey at gcc dot gnu dot org 2005-11-29 18:58 --- Subject: Bug 18278 Author: tromey Date: Tue Nov 29 18:58:23 2005 New Revision: 107677 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107677 Log: gcc/java: PR java/18278: * expr.c (build_jni_st

[Bug java/18278] JNI functions cannot return a weak reference

2005-11-29 Thread tromey at gcc dot gnu dot org
--- Comment #8 from tromey at gcc dot gnu dot org 2005-11-29 18:35 --- Subject: Bug 18278 Author: tromey Date: Tue Nov 29 18:34:58 2005 New Revision: 107676 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107676 Log: gcc/java: PR java/18278: * expr.c (build_jni_st

[Bug java/18278] JNI functions cannot return a weak reference

2005-11-28 Thread tromey at gcc dot gnu dot org
--- Comment #7 from tromey at gcc dot gnu dot org 2005-11-28 20:06 --- I'm handling this -- tromey at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|

[Bug java/18278] JNI functions cannot return a weak reference

2004-12-02 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-02 13:36 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW E

[Bug java/18278] JNI functions cannot return a weak reference

2004-12-01 Thread tromey at gcc dot gnu dot org
--- Additional Comments From tromey at gcc dot gnu dot org 2004-12-01 21:40 --- How curious. Apparently the JDK unwraps the return result of a JNI method that returns a JNI weak reference. I think it is too late to implement this for GCC 4.0 (unless the commit rules change again). Her

[Bug java/18278] JNI functions cannot return a weak reference

2004-11-02 Thread laurent at bearteam dot org
--- Additional Comments From laurent at bearteam dot org 2004-11-02 20:38 --- Created an attachment (id=7461) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7461&action=view) Sample java code Here's how I compiled to whole thing: cc -c weakref.c -o weakref.o cc -shared -Xlinker -

[Bug java/18278] JNI functions cannot return a weak reference

2004-11-02 Thread laurent at bearteam dot org
--- Additional Comments From laurent at bearteam dot org 2004-11-02 20:34 --- Created an attachment (id=7460) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7460&action=view) Sample JNI c code This is jni.i.gz, as produced by: cc -c -save-temps weakref.c -o weakref.o gzip weakref.i

[Bug java/18278] JNI functions cannot return a weak reference

2004-11-02 Thread laurent at bearteam dot org
--- Additional Comments From laurent at bearteam dot org 2004-11-02 20:09 --- (In reply to comment #1) > Do you have some sample code or something? > I tend to suspect your code, simply for the reason > that GObject is not part of libgcj. I should have mentionned that GObject is the clas

[Bug java/18278] JNI functions cannot return a weak reference

2004-11-02 Thread tromey at gcc dot gnu dot org
--- Additional Comments From tromey at gcc dot gnu dot org 2004-11-02 18:55 --- Do you have some sample code or something? I tend to suspect your code, simply for the reason that GObject is not part of libgcj. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18278