This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: Wrong exception handler called?
- To: Fred Gray <fegray at uiuc dot edu>
- Subject: Re: Wrong exception handler called?
- From: Tom Tromey <tromey at cygnus dot com>
- Date: Sat, 20 May 2000 16:09:20 -0700 (PDT)
- Cc: java-discuss at sourceware dot cygnus dot com
- References: <200005200221.VAA05690@one.npl.uiuc.edu>
>>>>> "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