diff options
| -rw-r--r-- | test/956-methodhandles/src/Main.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/956-methodhandles/src/Main.java b/test/956-methodhandles/src/Main.java index 2802dfa4cc..42265a9b87 100644 --- a/test/956-methodhandles/src/Main.java +++ b/test/956-methodhandles/src/Main.java @@ -85,10 +85,6 @@ public class Main { mh1.invokeExact(aInstance); System.out.println("mh1.invoke(aInstance) should not succeeed"); } catch (WrongMethodTypeException expected) { - } catch (ClassCastException workaround) { - // TODO(narayan): ART treats all invokes as if they were non-exact. We - // should throw a WMTE if we execute an invoke-polymorphic instruction whose - // target method is MethodHandle.invokeExact. } // This should *still* be as if an invoke-super was called from one of C's |