There are a several places in jni.cpp that use CHECK_0 in a context where a pointer value is potentially needed. These are in the expansions of macros where different types are needed based on the macro arguments, specifically the ResultType argument. This leads to -Wzero-as-null-pointer-constant warnings for some of the macro uses.
- blocks
-
JDK-8332189 Enable -Wzero-as-null-pointer-constant
- Open
- links to
-
Commit(master) openjdk/jdk/52d9d69d
-
Review(master) openjdk/jdk/20575