"catch ()" misdiagnosed

Olly Betts olly@survex.com
Thu Nov 25 08:31:00 GMT 1999


In article < 14394.58384.342311.675902@deliverance.cygnus.com >, Alexandre Petit-Bianco wrote:
>Olly Betts writes:
>> Now "')' expected" is wrong since it's just found a closing bracket.
>>Indeed.
>>> And we shouldn't be getting an internal compiler error either,
>> should we?
>>We shouldn't. Can you try to patch below?

I now get this (which seems correct to me):
$ gcj -c X.java
X.java:4: Missing term.
 catch () { }
 ^
1 error
Cheers,
Olly
-- 
Two roads diverged in a wood, and I - I fought my way through the undergrowth.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /