[lworld] RFR: 8376045: [lworld] Treat @NullRestricted fields as ACC_STRICT_INIT on load [v5]
Chen Liang
liach at openjdk.org
Sun Jan 25 05:03:26 UTC 2026
On Sun, 25 Jan 2026 04:56:56 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.
>
> Chen Liang has updated the pull request incrementally with one additional commit since the last revision:
>
> Fix conditionals
I added `!HAS_PENDING_EXCEPTION` because otherwise it seems to run into resource leaks; early return seems to have resource leaks too.
-------------
PR Comment: https://git.openjdk.org/valhalla/pull/1951#issuecomment-3795990510
More information about the valhalla-dev
mailing list