Fix -Wzero-as-null-pointer-constant warnings in management.cpp

XMLWordPrintable

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

      There are several places in management.cpp that are using THROW_ or THROW_MSG_ with a value argument of 0 in a function returning a pointer. This triggers -Wzero-as-null-pointer-constant warnings when enabled. These places should be using THROW_NULL or THROW_MSG_NULL without the value argument.

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

              Created:
              Updated:
              Resolved: