On Thu, 22 Jan 2026 21:40:30 GMT, Chen Liang <[email protected]> wrote:

> Automatically inject strict for NR annotations, and remove tests that 
> previously kept them separate.

The annotation `@Strict` actually has a javac side effect - it makes all 
initializer statements and constructor bodies early-construction by default. 
This is not compatible with the planned language evolution with `!` types. The 
PR #1952 fixes that javac side effect.

After both #1951 and #1952 are merged, I plan to move on to to the 
simplification you mentioned.

-------------

PR Comment: https://git.openjdk.org/valhalla/pull/1951#issuecomment-3791935186

Reply via email to