< prev index next >

hotspot/test/compiler/valhalla/valuetypes/TestBoundValueTypes.java

Print this page

        

@@ -23,16 +23,20 @@
 
 package compiler.valhalla.valuetypes;
 
 
 import java.lang.invoke.*;
-import jdk.experimental.value.*;
+
+import jdk.experimental.value.MethodHandleBuilder;
+import jdk.incubator.mvt.ValueType;
 
 /**
  * @test
  * @bug 8185339
  * @summary Test correct compilation of MethodHandles with bound value type arguments.
+ * @modules java.base/jdk.experimental.value
+ *          jdk.incubator.mvt
  * @compile -XDenableValueTypes ValueCapableClass2.java TestBoundValueTypes.java
  * @run main/othervm -noverify -XX:+EnableMVT -XX:CompileCommand=compileonly,compiler.valhalla.valuetypes.TestBoundValueTypes::*
  *                   -XX:CompileCommand=compileonly,java.lang.invoke.*::* compiler.valhalla.valuetypes.TestBoundValueTypes
  */
 public class TestBoundValueTypes {
< prev index next >