There are several places in management.cpp that are using THROW_ or THROW_MSG_ with a value argument of 0 in a function returning a pointer. This triggers -Wzero-as-null-pointer-constant warnings when enabled. These places should be using THROW_NULL or THROW_MSG_NULL without the value argument.
- blocks
-
JDK-8332189 Enable -Wzero-as-null-pointer-constant for gcc
-
- Open
-
- links to
-
Commit(master) openjdk/jdk/5079c38d
-
Review(master) openjdk/jdk/20541