gcj 2.96 and rh7

Tom Tromey tromey@cygnus.com
Tue Nov 28 12:07:00 GMT 2000


>>>>> ">" == Mojo Jojo <david-b@pacbell.net> writes:

>> - nonstatic inner classes compiled wrong from source.

The inner class part of the front end is still buggy.  Alex has been
fixing problems in it; many were fixed after the RH 7.0 compiler was
branched.  So this isn't too suprising...

>> - a "catch" clause in a constructor seemed to cause
>>   the constructor to return a null object, until I
>>   noticed that a  System.err.println() call seemed
>>   to perturb code generation so that it worked.  (The
>>   only tricky bit in that "catch" was a conditional
>>   rethrow of the caught exception, I'd say.)

Can you make a small test case that shows the problem?
That would be very helpful.

>> - "java -help" didn't list "--main=" as significant.
>>   (And the usual similar minor frustrations.)

gcc's `--help' support leaves a lot to be desired.  I think this is
really a generic gcc bug -- gcj just uses the support the compiler
framework itself provides.

I'll make a note to remind myself to submit a gcc bug report.

Tom


More information about the Java mailing list