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?
So are you or anyone else actively pursuing this?
Doug
On Wed, 2006-12-06 at 14:36 +0000, Andrew Haley wrote:
> Doug Nicholson 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.
>
> Well, yeah. That's because the class file version ID has been bumped.
>
> > It executes just fine using the 30 Nov snapshot of the 1.6.0 JDK.
> > The code it generates also requires the 1.6 JDK.
> >
> > What does this mean?
> >
> > One shouldn't assume that I know anything but I don't believe there is
> > any good reason why the compiler shouldn't execute with the 1.5 JDK or
> > gij for that matter. I don't believe the JVM specification has changed.
> > It appears, though, that it's going to take more work than just making
> > changes similar to the ones Tom told me he made to the eclipse compiler
> > code to fit it into gcj.
> >
> > I will proceed to get it to execute with gij. Any tips or advice are
> > welcome.
>
> http://developer.classpath.org/pipermail/classpath/2006-November/001647.html
>
> Andrew.
>