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

Coleen Phillimore coleenp at openjdk.org
Mon Feb 24 19:30:41 UTC 2025


On Sat, 22 Feb 2025 14:49:38 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> Class.isInterface() can check modifier flags, Class.isArray() can check whether component mirror is non-null and Class.isPrimitive() needs a new final transient boolean in java.lang.Class that the JVM code initializes.
>> Tested with tier1-4 and performance tests.
>
> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Use modifiers field directly in isInterface.

Thanks for reviewing Roger.

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

PR Comment: https://git.openjdk.org/jdk/pull/23572#issuecomment-2679447427


More information about the core-libs-dev mailing list