Fix -Wzero-as-null-pointer-constant warnings from CHECK_0 in jni.cpp

XMLWordPrintable

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

      There are a several places in jni.cpp that use CHECK_0 in a context where a pointer value is potentially needed. These are in the expansions of macros where different types are needed based on the macro arguments, specifically the ResultType argument. This leads to -Wzero-as-null-pointer-constant warnings for some of the macro uses.

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

              Created:
              Updated:
              Resolved: