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

XMLWordPrintable

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

      In jvmciJavaClasses.cpp there are macros whose expansions include code involving assignments to or comparisons with a jfieldID, which is a pointer type, where the value involved is a 0. This triggers -Wzero-as-null-pointer-constant warnings when enabled.

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

              Created:
              Updated:
              Resolved: