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

Frederic Parain fparain at openjdk.org
Fri Jan 23 17:39:59 UTC 2026


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

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

With this change, the double annotation @Strict + @NullRestricted can be replaced by a single @NullRestricted annotation in all the tests. Is there a reason why this simplification is not part or this PR?

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

PR Comment: https://git.openjdk.org/valhalla/pull/1951#issuecomment-3791438475


More information about the valhalla-dev mailing list