Wrong exception handler called?

Tom Tromey tromey@cygnus.com
Sat May 20 16:09:00 GMT 2000


>>>>> "Fred" == Fred Gray <fegray@uiuc.edu> writes:

Fred> In the process, I stumbled across what seems to be a serious bug
Fred> in libgcj's exception handling.  Under some circumstances, when
Fred> a single try block has multiple catch blocks associated with it,
Fred> the wrong catch block is invoked.

I tried this and it worked for me.

I compiled .java->.class with JDK 1.1 and with "gcj -C".
I'm using the latest gcj, not the 2.95 gcj.

I don't have JDK 1.2 around to test, unfortunately.

Tom


More information about the Java mailing list