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

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

XMLWordPrintable

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

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

              Created:
              Updated:
              Resolved: