< prev index next >

hotspot/test/runtime/valhalla/valuetypes/ValueOops.java

Print this page

        

@@ -24,19 +24,23 @@
 package runtime.valhalla.valuetypes;
 
 import java.lang.invoke.*;
 import java.lang.ref.*;
 import java.util.concurrent.*;
-import jdk.experimental.value.*;
+
+import jdk.experimental.value.MethodHandleBuilder;
+import jdk.incubator.mvt.ValueType;
 
 import static jdk.test.lib.Asserts.*;
 import jdk.test.lib.Utils;
 import sun.hotspot.WhiteBox;
 
 /**
  * @test ValueOops
  * @summary Test embedding oops into Value types
+ * @modules java.base/jdk.experimental.value
+ *          jdk.incubator.mvt
  * @library /test/lib
  * @compile PersonVcc.java
  * @compile -XDenableValueTypes Person.java
  * @compile -XDenableValueTypes ValueOops.java
  * @run main ClassFileInstaller sun.hotspot.WhiteBox
< prev index next >