[lworld] RFR: 8376033: [lworld] Remove auto early construction from strict fields [v3]
Chen Liang
liach at openjdk.org
Fri Jan 23 20:47:52 UTC 2026
> Remove the translation strategy change of javac from `@Strict`, and fix all resulting errors (which appear as verification error for class files).
>
> This is a prerequisite for simplifying `@Strict @NullRestricted` to `@NullRestricted` later.
>
> This is done by discovering `@Strict` fields that are:
> 1. Not a member of a value class
> 2. Not static
>
> And use IDE refactor to move their initializer to the constructor, and add a `super()` call in the end of the constructor.
Chen Liang has updated the pull request incrementally with one additional commit since the last revision:
Purge missed jdk internal annotation export
-------------
Changes:
- all: https://git.openjdk.org/valhalla/pull/1952/files
- new: https://git.openjdk.org/valhalla/pull/1952/files/6f876e27..35480f78
Webrevs:
- full: https://webrevs.openjdk.org/?repo=valhalla&pr=1952&range=02
- incr: https://webrevs.openjdk.org/?repo=valhalla&pr=1952&range=01-02
Stats: 5 lines in 1 file changed: 0 ins; 4 del; 1 mod
Patch: https://git.openjdk.org/valhalla/pull/1952.diff
Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1952/head:pull/1952
PR: https://git.openjdk.org/valhalla/pull/1952
More information about the valhalla-dev
mailing list