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

XMLWordPrintable

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

      There are a number of places in jvmciCompilerToVM.cpp that use _0 suffixed exception macros in a context where a pointer value is needed. These trigger -Wzero-as-null-pointer-constant warnings when enabled. These places should be using the _NULL suffixed macros instead of the _0 suffixed macros.

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

              Created:
              Updated:
              Resolved: