[lworld] RFR: 8367698: [lworld] New lint category for code that would not be allowed in the prologue [v2]
Maurizio Cimadamore
mcimadamore at openjdk.org
Tue Sep 23 12:28:42 UTC 2025
On Tue, 23 Sep 2025 12:25:00 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> Vicente Romero has updated the pull request incrementally with one additional commit since the last revision:
>>
>> addressing review comments
>
> test/langtools/tools/javac/SuperInit/EarlyAssignments.out line 22:
>
>> 20: EarlyAssignments.java:170:18: compiler.err.cant.ref.before.ctor.called: EarlyAssignments.Inner8
>> 21: EarlyAssignments.java:179:17: compiler.err.cant.ref.before.ctor.called: x
>> 22: 21 errors
>
> Why the difference here? The missing error seems to be this:
>
> EarlyAssignments.java:157:13: compiler.err.cant.assign.val.to.var: final, x
Ok, I see the test case has been removed -- is that deliberate?
-------------
PR Review Comment: https://git.openjdk.org/valhalla/pull/1595#discussion_r2372149330
More information about the valhalla-dev
mailing list