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

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

XMLWordPrintable

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

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

              Created:
              Updated:
              Resolved: