RFR 8156485 MethodHandles.varHandleExactInvoker should perform exact checks
Paul Sandoz
paul.sandoz at oracle.com
Tue May 17 10:31:23 UTC 2016
> On 16 May 2016, at 13:52, Vladimir Ivanov <vladimir.x.ivanov at oracle.com> wrote:
>
> Looks good.
>
Thanks.
> Best regards,
> Vladimir Ivanov
>
> PS: regarding naming, makeVarHandleMethodInvoker is shorter and as informative. Since there are only 2 flavors of invokers for VarHandles (for MHs there are also basic invokers), there's no need to explicitly mention the modes in method names.
>
I renamed the method as you suggest. (FWIW the naming consistency is a little wonky with MHs with generic/general etc as in makeExactOrGeneralInvoker, but i resisted renaming that for now)
Paul.
More information about the core-libs-dev
mailing list