RFR (S) 8031059: invokestatic: ICCE trying to invoke static method when it clashes with an abstract method inherited from an interface

Coleen Phillimore coleen.phillimore at oracle.com
Tue Jan 7 14:37:54 PST 2014


This looks good.
Coleen

On 01/07/2014 04:13 PM, harold seigel wrote:
> Hi,
>
> Please review this fix for bug 8031059.  The problem is caused by the 
> generation of overpass exception methods (during default method 
> processing) that prevents subsequent method resolution from finding 
> existing static methods.  This change fixes the problem by not 
> generating an overpass exception method if the current class has a 
> static method with the same name and signature as the targeted default 
> method.
>
> The fix has been tested with the default methods tests, JCK lang and 
> VM tests, and JTREG java/lang, java/util, and hotspot tests, and the 
> test programs attached to bugs 8031059 and 8031034.
>
> Open webrev at: http://cr.openjdk.java.net/~hseigel/bug_8031059/ 
> <http://cr.openjdk.java.net/%7Ehseigel/bug_8031059/>
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8031059
>
> Thanks! Harold



More information about the hotspot-runtime-dev mailing list