On Mon, 16 Mar 2026 16:54:55 GMT, Chen Liang <[email protected]> wrote:
> I was mostly worried about tests expecting flat layouts to suddenly no longer > get flat layouts and silently continue to pass. This patch doesn't change the behavior when the @NullRestricted annotation is used correctly, the type of annotated fields is present in the LoadableDescriptors attribute and can be successfully loaded. So most tests won't see any change, with the two exceptions of the tests modified in this PR, which are explicitly testing misuses of the annotation. ------------- PR Comment: https://git.openjdk.org/valhalla/pull/2228#issuecomment-4070112600
