RFR: JDK-8296743: Tighten Class.getModifiers spec for array classes [v3]
Pavel Rappo
prappo at openjdk.org
Fri Nov 18 19:44:19 UTC 2022
On Fri, 18 Nov 2022 18:12:56 GMT, Joe Darcy <darcy at openjdk.org> wrote:
>> Update the spec of Class.getModifiers to match long-standing behavior for primitive and array classes. Remove unneeded implementation flexibility with regard to setting other bit positions. This work was prompted to better support anticipated future Valhalla changes.
>>
>> Please also review the CSR: https://bugs.openjdk.org/browse/JDK-8297237
>
> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
>
> Respond to review feedback.
Feeling stupid for asking this, but does it make any sense to keep the order of modifiers "blessed" in text and tests?
public protected private
abstract static final transient
volatile synchronized native strictfp
-------------
PR: https://git.openjdk.org/jdk/pull/11229
More information about the core-libs-dev
mailing list