Can OpenJDK's compiler replace ECJ for GCJ?

Tom Tromey tromey@redhat.com
Wed Dec 6 23:59:00 GMT 2006


>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:

>> I started working down this path yesterday but I didn't get very far.  I
>> downloaded the 30 Nov source zip and compiled it according to the
>> instructions using the 1.5.0_10 JDK.  When I executed it some class
>> loader barfed with an unsupported class version error.

Andrew> Well, yeah.  That's because the class file version ID has been bumped.

Interesting.  Do we know what changes prompted this?

Doug, you may be able to use '-target 1.5' when invoking javac to work
around this.

Tom



More information about the Java mailing list