[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 -shar

[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

[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 GObje

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

2004-11-02 Thread laurent at bearteam dot org
: JNI functions cannot return a weak reference Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: laurent at bearteam do