This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Can OpenJDK's compiler replace ECJ for GCJ?
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.