[lworld] RFR: 8376045: [lworld] Treat @NullRestricted fields as ACC_STRICT_INIT on load [v6]
Chen Liang
liach at openjdk.org
Tue Jan 27 15:41:33 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 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 eight additional commits since the last revision:
- Correctly fix resource leak this time
- Merge branch 'lworld' of https://github.com/openjdk/valhalla into feature/cfp-nr-auto-strict
- Fix conditionals
- Missing returns?
- Try again?
- 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/dac34493..0adaa3af
Webrevs:
- full: https://webrevs.openjdk.org/?repo=valhalla&pr=1951&range=05
- incr: https://webrevs.openjdk.org/?repo=valhalla&pr=1951&range=04-05
Stats: 2072 lines in 96 files changed: 1517 ins; 296 del; 259 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