I'm getting new failures running the dyn tests in mlvm. Seems like the -XX:+UnlockExperimentalVMOptions -XX:+EnableMethodHandles are being passed into junit.
$ jtreg -jdk:build/bsd-amd64/j2sdk-image -v:verbose jdk/test/java/dyn/InvokeGenericTest.java ----------messages:(3/275)---------- command: junit -XX:+UnlockExperimentalVMOptions -XX:+EnableMethodHandles test.java.dyn.InvokeGenericTest reason: User specified action: run junit/othervm -XX:+UnlockExperimentalVMOptions -XX:+EnableMethodHandles test.java.dyn.InvokeGenericTest elapsed time (seconds): 0.321 ----------System.out:(3/229)---------- OpenJDK 64-Bit Server VM warning: JSR 292 invokedynamic is disabled in this JVM. Use -XX:+UnlockExperimentalVMOptions -XX:+EnableInvokeDynamic to enable. VM option '+UnlockExperimentalVMOptions' VM option '+EnableMethodHandles' ----------System.err:(23/1295)---------- java.lang.InternalError at sun.dyn.MethodHandleNatives.init(Native Method) at sun.dyn.DirectMethodHandle.<init>(DirectMethodHandle.java:48) at sun.dyn.MethodHandleImpl.findMethod(MethodHandleImpl.java:182) at java.dyn.MethodHandles$Lookup.findStatic(MethodHandles.java:423) at sun.dyn.MethodHandleImpl.<clinit>(MethodHandleImpl.java:1209) at java.dyn.MethodHandles.<clinit>(MethodHandles.java:63) at test.java.dyn.InvokeGenericTest.<clinit>(InvokeGenericTest.java:317) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:186) at com.sun.javatest.regtest.JUnitAction$JUnitRunner.main(JUnitAction.java:85) at com.sun.javatest.regtest.JUnitAction$JUnitRunner.main(JUnitAction.java:77) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:613) at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94) at java.lang.Thread.run(Thread.java:732) JavaTest Message: Test threw exception: java.lang.InternalError JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.InternalError result: Failed. Execution failed: `main' threw exception: java.lang.InternalError _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev