This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Kde-java] GCJ and qtjava/kdejava


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]