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

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

XMLWordPrintable

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

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

              Created:
              Updated:
              Resolved: