< prev index next >

test/jdk/java/lang/invoke/VarHandles/VarHandleTestAccessBoolean.java

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

*** 139,150 **** for (int i = 0; i < vhs1.length; i++) { for (int j = 0; j < vhs1.length; j++) { if (i == j) { assertEquals(vhs1[i], vhs1[i]); - assertEquals(vhs1[i], vhs2[i]); - assertEquals(vhs1[i].hashCode(), vhs2[i].hashCode()); } else { assertNotEquals(vhs1[i], vhs1[j]); assertNotEquals(vhs1[i], vhs2[j]); } --- 139,148 ----
< prev index next >