< prev index next >
test/hotspot/jtreg/compiler/valhalla/valuetypes/TestLWorld.java
Print this page
@@ -1287,11 +1287,11 @@
}
// Tests writing an array element with a (statically known) incompatible type
private static final MethodHandle setArrayElementIncompatible = MethodHandleBuilder.loadCode(MethodHandles.lookup(),
"setArrayElementIncompatible",
- MethodType.methodType(void.class, TestLWorld.class, MyValue1[].class, int.class, MyValue2.class),
+ MethodType.methodType(void.class, TestLWorld.class, MyValue1[].class, int.class, MyValue2.class.asValueType()),
CODE -> {
CODE.
aload_1().
iload_2().
aload_3().
< prev index next >