What's the status?

Dalibor Topic Dalibor.Topic at Sun.COM
Wed Sep 3 11:00:39 PDT 2008


Andrew Bachmann wrote:
> Hi William,
>
> Last time we tried it Jikes was fine for compiling the code.  Jikes
> doesn't support the generics of java 5 though. (unless something
> changed recently)  So, we may have to un-generic some of the code if
> we use Jikes.  I'm not sure if Jikes is intended to be maintained at
> this point or not.  You might find it interesting to add some java 5
> support to Jikes.  I know that it would be a benefit to our project. 
> With an external javac and the openjdk jvm, we can bootstrap the
> openjdk javac which is written in java.

Jikes is unmaintained, and has been effectively dormant since 2005, at
least. It lacks support for generics, and annotations would likely be an
interesting problem, too. De-annotating & de-generifying the OpenJDK
class library too would be a lot of work of unlikely benefit, since the
tools themselves, like Javac, use Java 1.5 features.

You should be better off taking IcePick from
http://icedtea.classpath.org/wiki/IcePick and bootstrapping using that
on an existing JVM, assuming there is one for Haiku.
If there is no JVM for Haiku that can run ecj and IcePick, you could
consider starting the bootstrapping effort by first porting GNU
Classpath & Kaffe, Cacao, JamVM, etc.
to Haiku, to get a bootstrap VM for running ecj, and then going forward
with IcePick.

Alternatively, you should consider using a JVM on Linux for
bootstrapping purposes, as discussed in
http://landonf.bikemonkey.org/code/java/Porting_To_FreeBSD_Sparc.20080204.html
.

cheers,
dalibor topic

-- 
*******************************************************************
Dalibor Topic                   Tel: (+49 40) 23 646 738
Java F/OSS Ambassador           AIM: robiladonaim
Sun Microsystems GmbH           Mobile: (+49 177) 2664 192
Nagelsweg 55                    http://openjdk.java.net
D-20097 Hamburg                 mailto:Dalibor.Topic at sun.com
Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht München: HRB 161028
Geschäftsführer: Thomas Schröder, Wolfgang Engels, Dr. Roland Bömer
Vorsitzender des Aufsichtsrates: Martin Häring





More information about the haiku-port-dev mailing list