There are many places in various runtime-related directories where THROW_0 (or THROW_MSG_0) is used, where the return type of the function is a pointer type. These should instead be using THROW_NULL (or THROW_MSG_NULL), both for clarity and to avoid -Wzero-as-null-pointer-constant warnings.
- blocks
-
JDK-8332189 Enable -Wzero-as-null-pointer-constant
- Open
- links to
-
Commit(master) openjdk/jdk/7146daee
-
Review(master) openjdk/jdk/20457