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

Joe Darcy darcy at openjdk.org
Fri Nov 18 17:46:33 UTC 2022


> 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.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/11229/files
  - new: https://git.openjdk.org/jdk/pull/11229/files/3321b086..dd1f3005

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=11229&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11229&range=00-01

  Stats: 11 lines in 2 files changed: 0 ins; 0 del; 11 mod
  Patch: https://git.openjdk.org/jdk/pull/11229.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11229/head:pull/11229

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


More information about the core-libs-dev mailing list