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

Joe Darcy darcy at openjdk.org
Fri Nov 18 21:46:09 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:

  Address review feedback.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/11229/files
  - new: https://git.openjdk.org/jdk/pull/11229/files/375c260d..63cf2df7

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

  Stats: 5 lines in 1 file changed: 0 ins; 0 del; 5 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