icedtea-1.14 JamVM + OpenJDK 7 -version patch

Xerxes Rånby xerxes at zafena.se
Thu May 26 05:17:53 PDT 2011


Hi!

Today i tested to build JamVM + OpenJDK 7 using the newly released
icedtea-1.14 
http://icedtea.classpath.org/download/source/icedtea-1.14.tar.gz
that contains all JamVM build scripts from icedtea6.


After some patching the JamVM + OpenJDK 7 combination builds and now
passes java -version and java -help

icedtea-1.14/openjdk.build/j2sdk-image/bin/java -version
java version "1.7.0_136-icedtea"
IcedTea7 Runtime Environment (1.14) (Ubuntu build
1.7.0_136-icedtea-b136)
JamVM (build 1.6.0-devel, inline-threaded interpreter with
stack-caching)



* jamvm-oj7.patch :
OpenJDK7 complained that JVM_FindClassFromBootLoader not found inside
the jamvm libjvm.so, a new JVM API in OpenJDK 7, the attached patch fix
by implementing it using jamvm's internal findSystemClass0 method.


* icedtea-1.14-jamvm.patch :
I had to do some tweaks to the icedtea-1.14 Makefile.am all contained in
the icedtea-1.14-jamvm.patch because of a silly issue the jamvm sources
did not get extracted before patching.
This patch also makes it possible to rerun the stamps/jamvm.stamp by
adding -f to ln so that it can replace the symlink if its allready
there.
OpenJDK 7 have added a check if the "unused by jamvm" libjsig.so
actually are a valid .so file, so instead of simply touching it i simply
created a link to the built libjvm.so created by stamps/jamvm.stamp.


I configured my icedtea-1.14 build using
./configure --enable-jamvm --disable-system-lcms --disable-bootstrap

Cheers
Xerxes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jamvm-oj7.patch
Type: text/x-patch
Size: 676 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110526/1c1e9b8f/jamvm-oj7.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icedtea-1.14-jamvm.patch
Type: text/x-patch
Size: 1620 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110526/1c1e9b8f/icedtea-1.14-jamvm.patch 


More information about the distro-pkg-dev mailing list