test/java/lang/invoke/InvokeGenericTest.java
Alan Bateman
Alan.Bateman at oracle.com
Fri Sep 9 12:09:10 UTC 2011
John,
This test fails in the jdk8/tl because javac now defaults to
source/target 8 and the test specifies -target 7 without specifying the
source. This means we can run the java/lang/** tests without getting at
least one failure. Any objection if I add -source 7 to the compile tag?
I assume at some point these tests will move to source/target 8.
-Alan
diff --git a/test/java/lang/invoke/InvokeGenericTest.java
b/test/java/lang/invoke/InvokeGenericTest.java
--- a/test/java/lang/invoke/InvokeGenericTest.java
+++ b/test/java/lang/invoke/InvokeGenericTest.java
@@ -25,7 +25,7 @@
/* @test
* @summary unit tests for java.lang.invoke.MethodHandle.invoke
- * @compile -target 7 InvokeGenericTest.java
+ * @compile -source 7 -target 7 InvokeGenericTest.java
* @run junit/othervm test.java.lang.invoke.InvokeGenericTest
*/
More information about the core-libs-dev
mailing list