The constructor for the Node class takes a Node* as the first argument. Some derived class constructors pass a value of 0 for that argument. This triggers -Wzero-as-null-pointer-constant warnings when that option is enabled.
- blocks
-
JDK-8332189 Enable -Wzero-as-null-pointer-constant
- Open
- links to
-
Commit(master) openjdk/jdk/ab27acab
-
Review(master) openjdk/jdk/20162