This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcc/gcj 3.4 - bug report
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: rezaei at promail dot com
- Cc: java at gcc dot gnu dot org
- Date: Wed, 23 Jul 2003 22:47:48 -0500
- Subject: Re: gcc/gcj 3.4 - bug report
- Reply-to: gnustuff at thisiscool dot com
Hi Moh,
>As you can see, it does some dynamic class loading via Class.forName.
>BTW, a lot of java code works like this. I guess ld was just optimizing too
>much and removing those classes because they were not invoked directly
>anywhere. The solution was a simple class (I had to put it in the the eclipse
>package, because those classes are package private).
>For anyone who's interested:
...
>Note to Mohan: you might want to put that class in your builds and add it as a
>.o for linking.
Could you maybe update the SWT build script in thisiscool-gcc/swt/win32/scripts
and also perhaps build.bat of examples/HelloSWT and send it to me? If you
also update HelloSWT, provide a sample image and load the image via HelloSWT,
you'll be the hero of the day.
The same goes for everyone: unfortunately, I'm so caught up in building and
hacking this stuff that I only have a vague idea of how to use it in real life, especially
the SWT stuff. Please feel free to send updated and new examples. The
easier you make it for me to include them (i.e. "Place this here, do this.")
and the less I have to think, the more likely they are to be included and
I'll give you due credit.
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/