Generally speaking, the JDK7 builds follow the JSR 292 portions of the mlvm patch repository. There is a delay of several weeks, due to engineering process.
Also, because JVM changes are usually pushed earlier than Java code changes, the contents of the JDK master repository tend to be updated after the contents of the JVM master repository.
There is a preview of the javadoc here:
http://cr.openjdk.java.net/~jrose/pres/indy-javadoc-mlvm/
There are also dated versions of this folder, under pres.
This javadoc corresponds to recent mlvm repository contents.
The javadoc folder also contain a preview of JAR files containing java.dyn and sun.dyn packages, plus corresponding "jtreg" unit tests:
- http://cr.openjdk.java.net/~jrose/pres/indy-javadoc-mlvm/indy.jar
- http://cr.openjdk.java.net/~jrose/pres/indy-javadoc-mlvm/indy-tests.jar
To run a unit tests, get a recent JVM build (mlvm or JDK7 download), download the above JAR files, and do something like this:
$JAVA7_HOME/bin/java \ -XX:+UnlockExperimentalVMOptions -XX:+EnableInvokeDynamic \ -Xbootclasspath/p:$INDY_JAVADOC_MLVM/indy.jar \ -cp $INDY_JAVADOC_MLVM/indy-tests.jar:$JUNIT4_JAR \ org.junit.runner.JUnitCore test.java.dyn.MethodHandlesTest
Sample output:
JUnit version 4.5 .IIIIII.............................. Time: 0.623 OK (30 tests)
For more output try this JVM argument:
$JAVA7_HOME/bin/java \ -Dtest.java.dyn.MethodHandlesTest.verbosity=2 \ -XX:+UnlockExperimentalVMOptions -XX:+EnableInvokeDynamic \ ...