< prev index next >

jdk/test/valhalla/mvt/WithFieldTest.java

Print this page

        

*** 20,40 **** * or visit www.oracle.com if you need additional information or have any * questions. */ import jdk.experimental.value.MethodHandleBuilder; ! import jdk.experimental.value.ValueType; import org.testng.annotations.Test; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.lang.invoke.MethodType; import static org.testng.Assert.*; /* * @test * @run testng/othervm -XX:+EnableMVT -Dvalhalla.enablePoolPatches=true WithFieldTest */ @Test public class WithFieldTest { --- 20,42 ---- * or visit www.oracle.com if you need additional information or have any * questions. */ import jdk.experimental.value.MethodHandleBuilder; ! import jdk.incubator.mvt.ValueType; import org.testng.annotations.Test; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.lang.invoke.MethodType; import static org.testng.Assert.*; /* * @test + * @modules java.base/jdk.experimental.value + * jdk.incubator.mvt * @run testng/othervm -XX:+EnableMVT -Dvalhalla.enablePoolPatches=true WithFieldTest */ @Test public class WithFieldTest {
< prev index next >