This is the mail archive of the java-discuss@sources.redhat.com mailing list for the Java project.


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

Re: gcj 2.96 and rh7


>>>>> ">" == 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

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