There are two remaining instances where 'this' is compared with 'nullptr'. This comparison results in the following error message when compiled with clang or xlclang.
error: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Werror,Wtautological-undefined-compare]
error: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Werror,Wtautological-undefined-compare]
- relates to
-
JDK-8227633 avoid comparing this pointers to NULL
-
- Resolved
-