In jvmciJavaClasses.cpp there are macros whose expansions include code involving assignments to or comparisons with a jfieldID, which is a pointer type, where the value involved is a 0. This triggers -Wzero-as-null-pointer-constant warnings when enabled.
- blocks
-
JDK-8332189 Enable -Wzero-as-null-pointer-constant
- Open
- links to
-
Commit(master) openjdk/jdk/5f7b0072
-
Review(master) openjdk/jdk/20175