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

Chen Liang liach at openjdk.org
Thu Jan 29 23:08:35 UTC 2026


On Thu, 22 Jan 2026 21:40:30 GMT, Chen Liang <liach at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: e7af4bd9
Author:    Chen Liang <liach at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/e7af4bd9947c5f5ab60a612edc2c60e9a441fc78
Stats:     143 lines in 4 files changed: 71 ins; 68 del; 4 mod

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

Co-authored-by: Frederic Parain <fparain at openjdk.org>
Reviewed-by: fparain

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

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


More information about the valhalla-dev mailing list