On Thu, 10 Sep 2026 08:04:51 GMT, Yasumasa Suenaga <[email protected]> wrote:

> I couldn't compile the code with following error. Can we use !? It does not 
> seem to be mentioned in JEP 401.

Sorry. I've never used it myself. Try the annothation `@NullRestricted` instead:

value class Point { int x, y;}
class XXX {
    @NullRestricted
    Point point;
}

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

PR Comment: https://git.openjdk.org/jdk/pull/32310#issuecomment-5615924946

Reply via email to