[Nestmates] RFR: 8187766: [Nestmates] Remove MethodHandles.Lookup.findSpecial changes

David Holmes david.holmes at oracle.com
Tue Oct 3 11:02:36 UTC 2017


Thanks Maurizio!

David

On 3/10/2017 8:55 PM, Maurizio Cimadamore wrote:
> Looks good - nice improvements to the test!
> 
> Maurizio
> 
> 
> On 03/10/17 11:47, David Holmes wrote:
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8187766
>> webrev: http://cr.openjdk.java.net/~dholmes/8187766/webrev/
>>
>> Now that we no longer use invokespecial for private nestmate access, 
>> the support previously added to Lookup.findSpecial should be removed 
>> again. This was overlooked in JDK-8187360.
>>
>> The MethodHandle tests needs to be updated to use findVirtual instead 
>> of findSpecial - and we can add negative tests for findSpecial. When 
>> the caller and target are the same class/interface then findSpecial 
>> can still be used.
>>
>>
>> Thanks,
>> David
>> -----
> 


More information about the valhalla-dev mailing list