RFR: 8350623: Fix -Wzero-as-null-pointer-constant warnings in nsk native test utilities

Kim Barrett kbarrett at openjdk.org
Wed Feb 26 12:08:11 UTC 2025


Please review this trivial change to remove a use of literal zero as a null
pointer constant.

Testing: mach5 tier1
Locally tested (linux-x64) with -Wzero-as-null-pointer-constant enabled to
verify the warnings associated with this code were removed.

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

Commit messages:
 - fix nsk native test utils

Changes: https://git.openjdk.org/jdk/pull/23797/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23797&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8350623
  Stats: 7 lines in 2 files changed: 4 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/23797.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23797/head:pull/23797

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


More information about the hotspot-runtime-dev mailing list