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

David Holmes dholmes at openjdk.org
Mon Aug 12 11:16:40 UTC 2024


On Mon, 12 Aug 2024 07:30:35 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> 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

Looks good and trivial.

Thanks

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

Marked as reviewed by dholmes (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/20541#pullrequestreview-2232696174


More information about the serviceability-dev mailing list