RFR (S) : JDK-8007736 - VerifyError for use of static method in interface

S. Bharadwaj Yadavalli bharadwaj.yadavalli at oracle.com
Mon Feb 11 07:23:38 PST 2013


Thanks, Kris.

On 2/8/2013 8:56 PM, Krystal Mo wrote:
> Hi Bharadwaj,
>
> Looks good to me.
>
> - Kris
>
> On 02/08/2013 04:57 PM, S. Bharadwaj Yadavalli wrote:
>>
>> I would like to request for code reviews for the following changes.
>>
>> Code changes : http://cr.openjdk.java.net/~bharadwaj/8007736/webrev/
>> Bug fixed    : https://jbs.oracle.com/bugs/browse/JDK-8007736
>>
>> Summary of changes :
>>      Java 8 allows public static interface methods. To accommodate 
>> for this, the proposed change modifies bytecode verification of Java 
>> 8 classfiles to allow invokestatic to refer to static interface 
>> methods in CONSTANT_InterfaceMethodref as well as static class 
>> methods in CONSTANT_Methodref.
>>
>> New test added :
>>      A new jtreg test in hotspot/test/runtime is added.
>>
>> Testing done:
>>      No new jtreg failures seen due to this change.
>>
>> Thanks,
>>
>> Bharadwaj
>



More information about the hotspot-runtime-dev mailing list