Patch: Re: Logging broken ?
Bryce McKinlay
mckinlay@redhat.com
Wed Apr 6 17:39:00 GMT 2005
Andreas Grunewald wrote:
> > Well, it's hard for us without Windows platforms to know what the
> > cause of your problem might be. However, my guess is that you have
> > some kind of problem with stack traces.
>
> Ok so here is the output of my hello.exe
>
> G:\2005-extraextra>hello
> Now starting to LOG
> Exception in thread "main" java.lang.NullPointerException
> at 0x00416a3e (Unknown Source)
> at 0x00416f32 (Unknown Source)
Here's a patch that should prevent Logger.log() throwing
NullPointerException when the caller (stack) information is not
available. This patch is against HEAD, but its possible that something
similar needs to be applied to 3.4. I'm checking it in.
Bryce
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libjava-natlogger.patch
Type: text/x-patch
Size: 1108 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20050406/d815b0c9/attachment.bin>
More information about the Java-patches
mailing list