This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [Kde-java] GCJ and qtjava/kdejava
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- To: Richard Dale <Richard_Dale at tipitina dot demon dot co dot uk>
- Cc: java at gcc dot gnu dot org
- Date: Tue, 02 Apr 2002 13:01:49 +1200
- Subject: Re: [Kde-java] GCJ and qtjava/kdejava
- References: <1017360903.5892.253.camel@dhcppc2> <1017517517.26212.4.camel@dhcppc2> <87u1qx4qwj.fsf@creche.redhat.com> <200204011351.40312.Richard_Dale@tipitina.demon.co.uk>
Richard Dale wrote:
>Thanks for the responses to my problem - I've joined the java@gcc.gnu.org list
>now.
>
>I've downloaded and built a gcc-20020325 snapshot, and it has the same bug :-(.
>The only difference was that gcc 3.1 trashed the stack when it crashed.
>
Hi Richard,
I gave your test program a try here and it works fine for me with the
current GCJ 3.1, however I am using qtjava from kdebindings-2.2.2. I
replaced the qtjava.initialize() with System.loadLibrary("qtjava").
It is possible that GCJ is picking up qtjava classes on your CLASSPATH
that do not match the ones you compiled into native code?
The "ScribbleWindow" also runs and I can "scribble", however selecting
anything from the menus results in a crash in jni.cc... I havn't tried
to debug this yet.
regards
Bryce.