This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Logging broken ?
Ok now we have more stacktrace stuff :-)
Now starting to LOG
This is tLog java.util.logging.Logger@d68bb8
This is Level.Severe SEVERE
Exception in thread "main" java.lang.NullPointerException
at 0x00416ffe (E:\datal\gcc\gcc\gcc\libgcc2.c)
at 0x004174f2 (E:\datal\gcc\gcc\gcc\libgcc2.c)
at 0x004175a3 (E:\datal\gcc\gcc\gcc\libgcc2.c)
at 0x004358fd (E:\datal\gcc\gcc\gcc\libgcc2.c)
at 0x0045554d (E:\datal\gcc\gcc\gcc\libgcc2.c)
at 0x004102ed (E:\datal\gcc\gcc\gcc\libgcc2.c)
at 0x00402352 (E:\datal\gcc\gcc\gcc\libgcc2.c)
at 0x0040ab79 (E:\datal\gcc\gcc\gcc\libgcc2.c)
at 0x0040ad18 (E:\datal\gcc\gcc\gcc\libgcc2.c)
at 0x00409365 (E:\datal\gcc\gcc\gcc\libgcc2.c)
at Hello.go() (E:\2004-development\2005-extraextra\src\Hello.java:23)
at Hello.main(java.lang.String[])
(E:\2004-development\2005-extraextra\src\Hello.java:11)
at 0x0045f0d1 (E:\datal\gcc\gcc\gcc\libgcc2.c)
at 0x00414d1e (E:\datal\gcc\gcc\gcc\libgcc2.c)
at 0x0041d3e0 (E:\datal\gcc\gcc\gcc\libgcc2.c)
at 0x00403437 (E:\datal\gcc\gcc\gcc\libgcc2.c)
at 0x00403507 (E:\datal\gcc\gcc\gcc\libgcc2.c)
at main (C:\DOKUME~1\GRUNEW~1\LOKALE~1\Temp\ccqKcaaa.i:12)
at 0x00401209 (E:\2004-development\2005-extraextra\natClass.cc)
at 0x00401234 (E:\2004-development\2005-extraextra\natClass.cc)
at 0x7c816d4b (Unknown Source)
I piped hello to c++filt and used a simple trick to avoid thinking about
piping standard error I added this line to the code
"System.setErr(System.out);"
> Don't hold your breath - it will not be useful
> if the libgcj runtime does not have debugging
> information. Mohan does not distribute
> libgcj with debugging information IIRC as
> the resultant binary otherwise is *huge* and
> would strain his bandwidth, not to mention
> increase download times for users.
Well couldn't Mohan build the libgcj via the sourceforge compilefarm and
distribute it via a sourceforge project ? This way we wouldn't have to
use his bandwitdh for it. It's just an idea. Because for developers it
would surely be very usefull to have a libgcj with debuginformation in
general, that way one could more easily track down problems and
eventually solve them faster.
> On the other hand, if you have some
> time, you can build GCJ for Win32
> yourself by following the steps given
> in:
>
> http://ranjitmathew.hostingzero.com/phartz/gcj/bldgcj.html
Well I read the tutorial and that you need a Linux system for it, but
right now my time is unfortunately to limited to try to build it on my
own. Let's hope Mohan can help.
Andreas