RFR: 8350771: Fix -Wzero-as-null-pointer-constant warning in nsk/monitoring ThreadController utilitiy

Kim Barrett kbarrett at openjdk.org
Wed Feb 26 12:28:29 UTC 2025


Please review this trivial change to remove a use of literal zero as a null
pointer constant in an nsk test utility.

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/monitoring ThreadController.cpp

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

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


More information about the serviceability-dev mailing list