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

David Holmes david.holmes at oracle.com
Tue Oct 3 10:47:25 UTC 2017


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