RFR: Lambda: 8026066 Invokeinterface throw ICCE for static methods

Karen Kinnear Karen.Kinnear at oracle.com
Sat Nov 30 14:39:32 PST 2013

Please review:

webrev: http://cr.openjdk.java.net/~acorn/8026066.3/webrev
bug: https://bugs.openjdk.java.net/browse/JDK-8026066

Fix invokeinterface, invokespecial and invokestatic to all use common interface method
resolution and invokeinterface and invokespecial to throw ICCE if a static method is found.
Thanks to Harold for the fix for the linkResolver lookup_instance_method_in_klasses. This
fix passes here and is specifically tested by 8028438 coming next for review.

Note: causes hotspot/test/runtime/8026365/InvokeSpecialAnonTest.java to fail - should
be fixed by Lois with 8028741 - skip static and non-public methods in j.l.Object.
I added this failure comment to that bug, hopefully in the correct syntax to show up as a known bug
and so Lois could use that as a partial test.

Tests run:
jck.lang, jck.vm
jtreg java.util, java.lang, lambda
jtreg langtools/test/lambdaShapes/.../test/vm
2009 invoke* tests
hotspot jtreg: runtime, compiler
nsk vm.quick, vm.mlvm


More information about the hotspot-runtime-dev mailing list