ConcurrentHashTable has a pointer-typed data member _invisible_epoch. It is initialized to 0 by the constructor, and assigned to 0 in several places. This trigguers -Wzero-as-null-pointer-constant when that warning is enabled.
- blocks
-
JDK-8332189 Enable -Wzero-as-null-pointer-constant for gcc
-
- Open
-