Le 23/05/2010 04:29, John Rose a écrit : > I recently committed to JDK7 a bundle of coordinated changes to the JDK and > JVM. It looks like we failed to promote, in jdk7-b92, the JDK changes that > go with the most recent JVM changes. These JVM changes are in hs19-b01. > > The JDK changes will catch up in jdk7-b93. > > (Reminder: This mismatch only affects people who use > UnlockExperimentalVMOptions and EnableInvokeDynamic or EnableMethodHandles.) >
In fact only UnlockExperimentalVMOptions and EnableInvokeDynamic fails, method handles seems to work :) > For now, please grab this file and prepend it onto your BCP: > http://blogs.sun.com/jrose/resource/jsr292/hs19-b01-jsr292-patch.jar > > Here's the option, of course: > -Xbootclasspath/p:$DOWNLOADS/hs19-b01-jsr292-patch.jar > > Current unit tests are in this file: > http://blogs.sun.com/jrose/resource/jsr292/hs19-b01-jsr292-tests.jar > > It requires a recent version of JUnit (4.5 or better): > http://www.junit.org/node/401 > > Here's the complete command line: > $JAVA7_HOME/bin/java} \ > -XX:+{UnlockExperimentalVMOptions,EnableInvokeDynamic} \ > -Xbootclasspath/p:$DOWNLOADS/hs19-b01-jsr292-patch.jar \ > -cp $$DOWNLOADS/hs19-b01-jsr292-tests.jar:$DOWNLOADS/junit-4.5.jar \ > org.junit.runner.JUnitCore test.java.dyn.MethodHandlesTest > > Sorry for the trouble. Please let me know if this works. > It works :) > -- John > Rémi _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev