Fix -Wzero-as-null-pointer-constant warning in nsk/monitoring ThreadController utility

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 25
    • Affects Version/s: None
    • Component/s: hotspot
    • svc
    • b13

      The getStateName function in ThreadController.cpp uses a literal 0 as a null pointer constant on the default (error) return path. It should use nullptr instead.

            Assignee:
            Kim Barrett
            Reporter:
            Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: