RFR: Lambda: 8026066 Invokeinterface throw ICCE for static methods

Lois Foltan lois.foltan at oracle.com
Mon Dec 2 16:51:17 PST 2013


Hi Karen,
I think this  looks good.
Lois

On 11/30/2013 5:39 PM, Karen Kinnear wrote:
> 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:
> defmeth
> 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
> itabletests/intfbug
>
> thanks,
> KAren



More information about the hotspot-runtime-dev mailing list