RFR: JDK-8296743: Tighten Class.getModifiers spec for array classes [v2]

Joe Darcy darcy at openjdk.org
Fri Nov 18 18:09:30 UTC 2022


On Fri, 18 Nov 2022 17:42:41 GMT, Mandy Chung <mchung at openjdk.org> wrote:

>> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Respond to review feedback.
>
> src/java.base/share/classes/java/lang/Class.java line 1311:
> 
>> 1309:      * void, its {@code public}, {@code abstract}, and {@code final}
>> 1310:      * modifiers are always {@code true}.
>> 1311:      * For class objects representing void, primitive types, and
> 
> Suggestion:
> 
>      * For {@code Class} objects representing void, primitive types, and

Yes; I'll make the corresponding change to accessFlags() and its tests; updated PR and CSR momentarily. Thanks.

-------------

PR: https://git.openjdk.org/jdk/pull/11229


More information about the core-libs-dev mailing list