--- a/jdk/test/sun/invoke/util/ValueConversionsTest.java Wed Sep 10 19:19:50 2014 +0400
+++ b/jdk/test/sun/invoke/util/ValueConversionsTest.java Wed Sep 10 19:19:50 2014 +0400
@@ -158,14 +158,6 @@
}
@Test
- public void testIdentity() throws Throwable {
- MethodHandle id = ValueConversions.identity();
- Object expResult = "foo";
- Object result = id.invokeExact(expResult);
- assertEquals(expResult, result);
- }
-
- @Test
public void testConvert() throws Throwable {
for (long tval = 0, ctr = 0;;) {
if (++ctr > 99999) throw new AssertionError("too many test values");