RFR: 8174222: LambdaMetafactory: validate inputs and improve documentation [v3]
Dan Smith
dlsmith at openjdk.java.net
Fri Jun 4 23:44:01 UTC 2021
On Fri, 4 Jun 2021 22:06:49 GMT, Mandy Chung <mchung at openjdk.org> wrote:
>> Dan Smith has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Address reviewer comments
>
> src/java.base/share/classes/java/lang/invoke/LambdaMetafactory.java line 312:
>
>> 310: * @return a CallSite whose target can be used to perform capture, generating
>> 311: * instances of the interface named by {@code factoryType}
>> 312: * @throws LambdaConversionException If {@code caller} does not have full privilege
>
> Suggestion:
>
> * @throws LambdaConversionException If {@code caller} does not have {@linkplain Lookup#hasFullPrivilegeAccess full privilege}
It's hard to see in the diff, but this link just appeared in the javadoc a few lines above. Stylistically, doesn't seem like it should be linked again.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4346
More information about the core-libs-dev
mailing list