There are a few places in PRODUCT-only code where a literal zero is used in a pointer context, triggering -Wzero-as-null-pointer-constant. One that occurs in several places is a function returning a pointer with PRODUCT_RETURN0 as the body.
- blocks
-
JDK-8332189 Enable -Wzero-as-null-pointer-constant
- Open
- links to
-
Commit(master) openjdk/jdk/dc0ce1b2
-
Review(master) openjdk/jdk/21290