RFR: 8349860: Make Class.isArray(), Class.isInterface() and Class.isPrimitive() non-native [v5]

Coleen Phillimore coleenp at openjdk.org
Fri Feb 21 12:31:49 UTC 2025


On Thu, 20 Feb 2025 23:38:34 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix whitespace
>
> You are right, using the field directly is indeed better.

I don't use the field directly because the field is a short and getModifiers makes it into Modifier.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23572#discussion_r1965399996


More information about the core-libs-dev mailing list