On Thu, 9 Apr 2026 15:03:55 GMT, Per Minborg <[email protected]> wrote:

> This PR proposes to improve the documentation for `MemorySegment.NULL`, 
> adding an `@apiNote` discouraging the use of `==` on `MemorySegment.NULL`.
> 
> This PR superseeds https://github.com/openjdk/jdk/pull/30501

This pull request has now been integrated.

Changeset: eac39686
Author:    Per Minborg <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/eac396861824f74e9bb19098bf689957a6e19f06
Stats:     5 lines in 1 file changed: 5 ins; 0 del; 0 mod

8381012: Add warning for == for MemorySegment.NULL

Reviewed-by: liach

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

PR: https://git.openjdk.org/jdk/pull/30653

Reply via email to