< prev index next >

test/jdk/java/lang/constant/CondyDescTest.java

Print this page
rev 53074 : 8215648: remove equals and hashCode implementations from j.l.i.VarHandle

*** 65,75 **** assertEquals(r.resolveConstantDesc(LOOKUP), c); } private void testVarHandleDesc(DynamicConstantDesc<VarHandle> r, VarHandle vh) throws ReflectiveOperationException { testSymbolicDesc(r); - assertEquals(r.resolveConstantDesc(LOOKUP), vh); assertEquals(vh.describeConstable().orElseThrow(), r); } private static<E extends Enum<E>> void testEnumDesc(EnumDesc<E> r, E e) throws ReflectiveOperationException { testSymbolicDesc(r); --- 65,74 ----
< prev index next >