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

Kim Barrett kbarrett at openjdk.org
Mon Aug 12 22:14:34 UTC 2024


On Mon, 12 Aug 2024 11:14:23 GMT, David Holmes <dholmes 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

Thanks for review @dholmes-ora

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

PR Comment: https://git.openjdk.org/jdk/pull/20541#issuecomment-2284989580


More information about the hotspot-runtime-dev mailing list