< 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,11 +65,10 @@
         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);
< prev index next >