RFR: 8338160: Fix -Wzero-as-null-pointer-constant warnings in management.cpp

Kim Barrett kbarrett at openjdk.org
Mon Aug 12 07:35:58 UTC 2024


Please review this trivial change to remove some
-Wzero-as-null-pointer-constant warnings in management.cpp.  Uses of THROW_
and THROW_MSG_ in a pointer context with a literal 0 value argument are
changed to use the corresponding _NULL suffixed macro without the value
argument.

Testing: mach5 tier1

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

Commit messages:
 - THROW_0 in management.cpp

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

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


More information about the serviceability-dev mailing list