RFR: 8341336: Fix -Wzero-as-null-pointer-constant warnings in PRODUCT-only codefix warnings in release build

Stefan Karlsson stefank at openjdk.org
Tue Oct 1 16:55:34 UTC 2024


On Tue, 1 Oct 2024 16:29:44 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this change that removes -Wzero-as-null-pointer-constant warnings
> triggered by PRODUCT-only code. Most are uses of PRODUCT_RETURN0 in a pointer
> context.  These are changed to use the (new) macro PRODUCT_RETURN_NULL.
> 
> Testing: mach5 tier1
> Locally (linux-x64) ran tier1 testing on a release build.
> (mach5 mostly does fastdebug testing)

Marked as reviewed by stefank (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/21290#pullrequestreview-2340918860


More information about the hotspot-dev mailing list