Integrated: JDK-8296743: Tighten Class.getModifiers spec for array classes

Joe Darcy darcy at openjdk.org
Fri Nov 18 21:54:48 UTC 2022


On Fri, 18 Nov 2022 03:26:38 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

This pull request has now been integrated.

Changeset: 6fd14421
Author:    Joe Darcy <darcy at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/6fd1442123f7c67740280e8555f60f01a4a2a30e
Stats:     180 lines in 3 files changed: 143 ins; 9 del; 28 mod

8296743: Tighten Class.getModifiers spec for array classes

Reviewed-by: rriggs, mchung, heidinga

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

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


More information about the core-libs-dev mailing list