On Thu, 5 Feb 2026 22:53:26 GMT, Chen Liang <[email protected]> wrote:

> Discovered this bug when prototyping core reflection. Without this fix, the 
> test fails with:
> 
> testRuntimeChecks/src/Test/Test.java:7: error: bad operand type int for unary 
> operator '<*nullrestrictedchk*>'
>         t.work(args[0], a, b);
>                         ^
> testRuntimeChecks/src/Test/Test.java:7: error: bad operand type boolean for 
> unary operator '<*nullrestrictedchk*>'
>         t.work(args[0], a, b);
>                            ^
> Note: testRuntimeChecks/src/Test/Test.java uses preview features of Java SE 
> 27.
> Note: Recompile with -Xlint:preview for details.
> 2 errors

Fixed the underlying test framework, seems only 2 mainline test and nothing 
else is affected. So we can just pick this over to bworld.

Thanks for the review!

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

PR Comment: https://git.openjdk.org/valhalla/pull/2056#issuecomment-3864792576
PR Comment: https://git.openjdk.org/valhalla/pull/2056#issuecomment-3869172887

Reply via email to