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 ------------- Commit messages: - Improve documentation for MemorySegment.NULL Changes: https://git.openjdk.org/jdk/pull/30653/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30653&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8381012 Stats: 5 lines in 1 file changed: 5 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/30653.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30653/head:pull/30653 PR: https://git.openjdk.org/jdk/pull/30653
