Can OpenJDK's compiler replace ECJ for GCJ?

Andrew Haley aph@redhat.com
Thu Dec 7 10:09:00 GMT 2006


Tom Tromey writes:
 > >>>>> "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?

Not really, no.

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

That is described in the link I provided, at

http://developer.classpath.org/pipermail/classpath/2006-November/001647.html

Andrew.



More information about the Java mailing list