<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. &nbsp;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. &nbsp;I made an error (in&nbsp;configuration management)&nbsp;in the makefile which controls which APIs are officially visible. &nbsp;The same makefile variable ${CORE_PKGS} controls (a) which classes get javadoc, and (b) which javac can see. &nbsp;Quite logical, in hindsight. :-) &nbsp;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". &nbsp;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. &nbsp;(And see below; it's simple.)</div><div><br></div><div>There may be another problem. &nbsp;I have been getting irregular success from javac on Mac OS when building. &nbsp;Sometimes the wrong javac gets used, instead of the javac built from the mlvm/langtools patches. &nbsp;The symptom is that the build breaks with the compiler reporting errors on method handle invocation&nbsp;sites (because it's not upgraded). &nbsp;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. &nbsp;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. &nbsp;There is a rumor that Mac OS javac is unusual in that it puts the system tools.jar on the bootclasspath, making it hard&nbsp;to&nbsp;override.</div><div><br></div><div>I'll look at your NPE also, Remi. &nbsp;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'">&nbsp;&nbsp; java.awt.print &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \</font></div><div><font class="Apple-style-span" face="'Lucida Sans Typewriter'">&nbsp;&nbsp; java.beans &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \</font></div><div><font class="Apple-style-span" face="'Lucida Sans Typewriter'">&nbsp;&nbsp; java.beans.beancontext &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \</font></div><div><font class="Apple-style-span" face="'Lucida Sans Typewriter'">+ &nbsp;java.dyn &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \</font></div><div><font class="Apple-style-span" face="'Lucida Sans Typewriter'">&nbsp;&nbsp; java.io &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\</font></div><div><font class="Apple-style-span" face="'Lucida Sans Typewriter'">&nbsp;&nbsp; java.lang &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\</font></div><div><font class="Apple-style-span" face="'Lucida Sans Typewriter'">&nbsp;&nbsp; java.lang.annotation &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \</font></div><div><br></div></div></div></div></body></html>