[lworld] RFR: 8376033: [lworld] Remove auto early construction from strict fields [v4]
Vicente Romero
vromero at openjdk.org
Mon Jan 26 20:50:56 UTC 2026
On Sat, 24 Jan 2026 20:47:01 GMT, Chen Liang <liach at openjdk.org> wrote:
>> This is the 1st PR in the strict removal series. See #1951 for 2nd PR.
>>
>> 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:
>
> Spurious test removal, should be removed by hotspot change instead
lgtm
-------------
Marked as reviewed by vromero (Committer).
PR Review: https://git.openjdk.org/valhalla/pull/1952#pullrequestreview-3707931095
More information about the valhalla-dev
mailing list