There is a list more or less long of things to do to port OpenJDK, and this depends at least on the following main points:
* Processor architecture * Operating System * Graphics backend The first bullet regards mainly Hotspot, and is the most complex aspect of the port, although it could be somehow simplified if you can use Shark and Zero. The Operating System bullet regards mostly the native layer (but also some part of the VM). OpenJDK doesn't really have yet a clean native layer separation, but if your OS is a POSIX one (you say is similar to Solaris, so this should be the case) you probably won't have to do much here (but I'm quite sure you will have some corner cases you will need to fix in some areas, for example - but not necessarily - the network layer). Finally, unless you use X11, you will probably need to port the graphics stack as well. You can use the Caciocavallo project to easy this task. It can be lots of work or just a matter of recompile and debug/fix selected issues, depending on how much you can reuse from the original code, but I would say that it will require you quite a few man months of work to get it done, especially if you plan to have a fully compliant implementation. Mario 2012/12/8 frank wong <aos.ppi.fu...@gmail.com>: > I have a new kind of architecture with Solaris, I want to port OpenJdk to > this platform. So I wonder if there is any tutorial to teach me how to port > OpenJdk to a new platform. (Maybe can tell me which part of OpenJDK need to > be modified?) > > Thanks > > > > -- pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF Fingerprint: BA39 9666 94EC 8B73 27FA FC7C 4086 63E3 80F2 40CF IcedRobot: www.icedrobot.org Proud GNU Classpath developer: http://www.classpath.org/ Read About us at: http://planet.classpath.org OpenJDK: http://openjdk.java.net/projects/caciocavallo/ Please, support open standards: http://endsoftpatents.org/