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

Chen Liang liach at openjdk.org
Sun Jan 25 04:47:14 UTC 2026


> This is the 2nd PR in the strict removal series. 1st PR is #1952, and 3rd PR is #1959.
> 
> Automatically inject strict for NR annotations, and remove tests that previously kept them separate. Also add behavior where NR is only accepted for preview class files.

Chen Liang has updated the pull request incrementally with one additional commit since the last revision:

  Missing returns?

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

Changes:
  - all: https://git.openjdk.org/valhalla/pull/1951/files
  - new: https://git.openjdk.org/valhalla/pull/1951/files/8dd8fe9d..0ebdccef

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

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