[lworld] RFR: 8376045: [lworld] Treat @NullRestricted fields as ACC_STRICT_INIT on load [v2]

Chen Liang liach at openjdk.org
Fri Jan 23 23:17:49 UTC 2026


> Automatically inject strict for NR annotations, and remove tests that previously kept them separate.

Chen Liang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:

 - Require NR users to be preview
 - Merge branch 'lworld' of https://github.com/openjdk/valhalla into feature/cfp-nr-auto-strict
 - 8376045: [lworld] Treat @NullRestricted fields as ACC_STRICT_INIT on load

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

Changes:
  - all: https://git.openjdk.org/valhalla/pull/1951/files
  - new: https://git.openjdk.org/valhalla/pull/1951/files/fcf27356..1390ad4c

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

  Stats: 278 lines in 9 files changed: 231 ins; 15 del; 32 mod
  Patch: https://git.openjdk.org/valhalla/pull/1951.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1951/head:pull/1951

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


More information about the valhalla-dev mailing list