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

Kim Barrett kbarrett at openjdk.org
Mon Aug 12 22:14:35 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

This pull request has now been integrated.

Changeset: 5079c38d
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/5079c38ddf345b21d8cb1c959bc36c4341e11da6
Stats:     5 lines in 1 file changed: 0 ins; 0 del; 5 mod

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

Reviewed-by: dholmes

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

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


More information about the serviceability-dev mailing list