GCJ with OpenJDK Java API instead of GNU Classpath

Andrew Haley aph@redhat.com
Thu May 7 13:43:00 GMT 2009


Andrew John Hughes wrote:

> There's actually no need to do a wholesale replacement of
> everything.  GCJ already overrides quite a number of classes from
> GNU Classpath with its own versions (including Object IIRC).

Indeed, and these are broken in a number of interesting ways.  That's
why they'd need rewriting.

> Quite a number of packages in Classpath are just pure Java and are
> used as is in GCJ.  This even extends to Swing, where the native JNI
> code from Classpath is used (GCJ usually prefers CNI).
>
> It really depends what you want the end result to be.  Having some
> hybrid with all the packages is probably an easier goal than trying
> to pass the TCK with the result... ;)

Huh?  I was assuming Java compatibility was the goal.

Andrew.



More information about the Java mailing list