< prev index next >

test/hotspot/jtreg/compiler/valhalla/valuetypes/TestNativeClone.java

Print this page
rev 55127 : 8223351: [lworld] Primary mirror and nullable mirror for inline type
Reviewed-by: tbd

*** 53,63 **** public class TestNativeClone { private static final MethodHandle cloneValue = MethodHandleBuilder.loadCode(MethodHandles.lookup(), "MyValue", ! MethodType.methodType(Object.class, MyValue.class.asValueType()), CODE -> { CODE. aload_0(). invokevirtual(Object.class, "clone", "()Ljava/lang/Object;", false). areturn(); --- 53,63 ---- public class TestNativeClone { private static final MethodHandle cloneValue = MethodHandleBuilder.loadCode(MethodHandles.lookup(), "MyValue", ! MethodType.methodType(Object.class, MyValue.class.asPrimaryType()), CODE -> { CODE. aload_0(). invokevirtual(Object.class, "clone", "()Ljava/lang/Object;", false). areturn();
< prev index next >