changeset 50149:e53de110f170 nestmates

This test must be compiled for JDK 10 to use invokespecial.
author dholmes
date Tue, 01 May 2018 01:35:50 -0400
parents 55b7c66b5aad
children bd1b4fa278a9
files test/jdk/java/lang/invoke/SpecialInterfaceCall.java
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/jdk/java/lang/invoke/SpecialInterfaceCall.java	Tue May 01 00:39:16 2018 -0400
+++ b/test/jdk/java/lang/invoke/SpecialInterfaceCall.java	Tue May 01 01:35:50 2018 -0400
@@ -23,9 +23,10 @@
 
 /**
  * @test
- * @bug 8200167
+ * @bug 8200167 8010319
  * @summary Test direct and MethodHandle access to interface methods using invokespecial semantics
- * @compile SpecialInterfaceCall.java
+ * @comment This must be compiled for JDK 10 so that invokespecial is generated.
+ * @compile -source 10 -target 10 SpecialInterfaceCall.java
  * @compile I4Special.jcod
  * @run main/othervm -Xint SpecialInterfaceCall
  * @run main/othervm -Xbatch -XX:+TieredCompilation -XX:TieredStopAtLevel=1 SpecialInterfaceCall