[lworld] RFR: 8367698: [lworld] New lint category for code that would not be allowed in the prologue [v2]
Vicente Romero
vromero at openjdk.org
Tue Sep 23 13:06:49 UTC 2025
On Tue, 23 Sep 2025 12:25:31 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> 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?
I think it was generating noise on the warnings side, I will add it back if possible
-------------
PR Review Comment: https://git.openjdk.org/valhalla/pull/1595#discussion_r2372263035
More information about the valhalla-dev
mailing list