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. Currently `@NullRestricted` requires annotated field type to be a value class, which means the source code always uses preview features and would be marked as such, at least in our code base. The non-preview class scenario is possible with users annotating a migrated value class field plus opening up jdk internals, don't know what we should do in this case - Given this annotation is expected to be revisited in bworld, wonder if it's worth adding extra checks. ------------- PR Comment: https://git.openjdk.org/valhalla/pull/1951#issuecomment-3787419362
