<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">When experimenting with invokedynamic or even just method handles, always compile with -target 7 (or -XDinvokedynamic) and run with -XX:+EnableInvokeDynamic. These defaults will get better when the EG converges on the spec.<div><br></div><div>The API docs don't get built, and javac claims that java.dyn doesn't exist, for the same reason. I made an error (in configuration management) in the makefile which controls which APIs are officially visible. The same makefile variable ${CORE_PKGS} controls (a) which classes get javadoc, and (b) which javac can see. Quite logical, in hindsight. :-) We're fixing this in b59.</div><div><div><div><br></div><div>I have done a build with the config change and from that build I can browse the API and run javac w/o the extra "-cp rt.jar". Xiomara is going to run some more extensive builds and tests, the results of which I hope will be available in the next OpenJDK build.</div><div><br></div><div>Meanwhile, I'll release the patch to the makefile in MLVM. (And see below; it's simple.)</div><div><br></div><div>There may be another problem. I have been getting irregular success from javac on Mac OS when building. Sometimes the wrong javac gets used, instead of the javac built from the mlvm/langtools patches. The symptom is that the build breaks with the compiler reporting errors on method handle invocation sites (because it's not upgraded). This must happen if a partial jdk-only build is done, but it seems to happen even if a full build of langtools + jdk is done. Not sure yet what's up; maybe I haven't done enough "rm -rf build", or maybe there's a problem with the wrong tools.jar getting picked up by javac. There is a rumor that Mac OS javac is unusual in that it puts the system tools.jar on the bootclasspath, making it hard to override.</div><div><br></div><div>I'll look at your NPE also, Remi. Thanks for the great reports.</div><div><br></div><div>-- John</div><div><br></div><div><br></div><div><div><font class="Apple-style-span" face="'Lucida Sans Typewriter'">diff --git a/make/docs/CORE_PKGS.gmk b/make/docs/CORE_PKGS.gmk</font></div><div><font class="Apple-style-span" face="'Lucida Sans Typewriter'">--- a/make/docs/CORE_PKGS.gmk</font></div><div><font class="Apple-style-span" face="'Lucida Sans Typewriter'">+++ b/make/docs/CORE_PKGS.gmk</font></div><div><font class="Apple-style-span" face="'Lucida Sans Typewriter'">@@ -97,6 +97,7 @@</font></div><div><font class="Apple-style-span" face="'Lucida Sans Typewriter'"> java.awt.print \</font></div><div><font class="Apple-style-span" face="'Lucida Sans Typewriter'"> java.beans \</font></div><div><font class="Apple-style-span" face="'Lucida Sans Typewriter'"> java.beans.beancontext \</font></div><div><font class="Apple-style-span" face="'Lucida Sans Typewriter'">+ java.dyn \</font></div><div><font class="Apple-style-span" face="'Lucida Sans Typewriter'"> java.io \</font></div><div><font class="Apple-style-span" face="'Lucida Sans Typewriter'"> java.lang \</font></div><div><font class="Apple-style-span" face="'Lucida Sans Typewriter'"> java.lang.annotation \</font></div><div><br></div></div></div></div></body></html>