RFR: 8297784: Optimize @Stable field for Method.isCallerSensitive [v2]
Aleksey Shipilev
shade at openjdk.org
Wed Nov 30 08:43:56 UTC 2022
On Wed, 30 Nov 2022 07:54:59 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Add a newline
>
> src/java.base/share/classes/java/lang/reflect/Method.java line 612:
>
>> 610: // -1 = initialized, not CS
>> 611: @Stable private byte callerSensitive;
>> 612: private boolean isCallerSensitive() {
>
> A minor nit but a blank line between the declaration and the method would be good here, only to see that the comment is on the field, not the boolean returning method.
Added.
-------------
PR: https://git.openjdk.org/jdk/pull/11422
More information about the core-libs-dev
mailing list