Problems building OpenJDK7 with InvokeDynamic on OSX

Ben Evans benjamin.john.evans at googlemail.com
Thu Dec 4 00:35:29 PST 2008


Hi,

Apologies if this is not the right place to ask (or if there are basic docs
somewhere which I have failed to find on my own).

I've been following the build instructions at:

http://wikis.sun.com/display/mlvm/Building

and trying to build with b33 of OpenJDK7, from the bsd port, to then build
via:

http://landonf.bikemonkey.org/code/java/SoyLatte_Meets_OpenJDK.20080819.html

(I have successfully built a vanilla OpenJDK7 and aside from some known
problems with the test suite, seem to have it self-hosting).

Unfortunately, the patches for invokedynamic do not seem to apply against my
bsd src tree. Eg, after applying the patches via:

CatBasket:sources boxcat$ sh patches/make/each-patch-repo.sh hg qselect
--reapply $guards

the only matches I have are:

CatBasket:jdk boxcat$ grep -rin methodhandle . | grep -v patches
./src/share/classes/com/sun/jndi/toolkit/corba/CorbaUtils.java:87:
initMethodHandles();
./src/share/classes/com/sun/jndi/toolkit/corba/CorbaUtils.java:215:
private static void initMethodHandles() throws ClassNotFoundException {
CatBasket:jdk boxcat$ pwd
/Users/boxcat/projects/jdk7-b33/sources/jdk
CatBasket:jdk boxcat$

Does someone have a set of build instructions for OSX, or some pointers to
additional documentation?

Thanks,

Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20081204/21917a0b/attachment.html 


More information about the mlvm-dev mailing list