[lworld] RFR: 8369062: [lworld] Do not allow references to instance fields before a this() invocation
Vicente Romero
vromero at openjdk.org
Sun Oct 5 12:06:18 UTC 2025
On Sat, 4 Oct 2025 05:36:26 GMT, Chen Liang <liach at openjdk.org> wrote:
> Comment in JDK-8368719 says we don't want error unless JEP 401 is previewed and compilation is done with preview enabled. I think what we have (failing for pre-this immediately without preview on) is probably better, but we just need to make sure Dan or whoever is aware of our decisions.
yep good catch, better to be on the safe side and enable the new feature for preview only, thanks!
-------------
PR Comment: https://git.openjdk.org/valhalla/pull/1659#issuecomment-3369010666
More information about the valhalla-dev
mailing list