[aix,linux] Avoid comparing 'this' to nullptr

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 21
    • Affects Version/s: None
    • Component/s: hotspot
    • None
    • b20
    • linux, aix

      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]

            Assignee:
            Tyler Steele
            Reporter:
            Tyler Steele
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: