This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the GCJ project. See the GCJ home page for more information.


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

Re: stack overflow & null pointer exceptions


>>>>> "Godmar" == Godmar Back <gback@cs.utah.edu> writes:

Godmar> it appears that gcj does not yet implement stack overflow
Godmar> errors properly

That's right.

I'm not sure how we're going to fix this.

Godmar> Apropos segfaulting: it also appears as though
Godmar> NullPointerExceptions aren't properly caught (?).

Also true.  There is a test in libjava/testsuite that checks for this
(and currently fails).

One idea is to fix this one by throwing the exception from a signal
handler.  Preliminary code to do this exists, but isn't enabled (and
doesn't work).

We'll fix this at some point.

Tom