Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8350771

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: