The template class JVMTypedFlagLimit<T> has some data members of type T, which are initialized in the constructors to an explicit value of 0. This triggers -Wzero-as-null-pointer-constant warnings when that's enabled and T is a pointer type.
- blocks
-
JDK-8332189 Enable -Wzero-as-null-pointer-constant for gcc
-
- Open
-
- links to
-
Commit(master) openjdk/jdk/7a620329
-
Review(master) openjdk/jdk/20112