[lworld] RFR: 8366913: [lworld] Add ACC_STRICT_INIT to ClassFile

Chen Liang liach at openjdk.org
Thu Sep 4 18:13:32 UTC 2025


@arraying discovered that java.lang.classfile.ClassFile is missing a constant for ACC_STRICT_INIT. This was due to previous iterations of strict fields proposal calling this flag simply ACC_STRICT like strictfp. The usages of ACC_STRICT and Modifier.STRICT has been reviewed, and ones that actually refer to STRICT_INIT (which is also not a source modifier) are migrated.

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

Commit messages:
 - Replace ACC_STRICT with ACC_STRICT_INIT

Changes: https://git.openjdk.org/valhalla/pull/1548/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1548&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8366913
  Stats: 20 lines in 6 files changed: 3 ins; 4 del; 13 mod
  Patch: https://git.openjdk.org/valhalla/pull/1548.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1548/head:pull/1548

PR: https://git.openjdk.org/valhalla/pull/1548


More information about the valhalla-dev mailing list