RFR findWither with access checks
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Thu Jun 22 23:51:14 UTC 2017
Looks good.
One question - does the lookup have to come necessarily from
'privateLookupIn' to have the isPrivate() bit set? What if the wither
handle is used from a method of the VCC itself? In that case it should
probably work - even if the lookup is obtained in the standard fashion
(MethodHandles.lookup()) ?
Thanks
Maurizio
On 23/06/17 00:41, Paul Sandoz wrote:
> http://cr.openjdk.java.net/~psandoz/valhalla/findWither-access/webrev/ <http://cr.openjdk.java.net/~psandoz/valhalla/findWither-access/webrev/>
>
> Updates findWither to grant access if the lookup class is VCC or DVT with private access.
>
> Paul.
More information about the valhalla-dev
mailing list