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

Fix -Wzero-as-null-pointer-constant warnings in ImmutableOopMapBuilder

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 24
    • hotspot
    • b05

      ImmutableOopMapBuilder::set has two pointer arguments with default values of 0. These trigger -Wzero-as-null-pointer-constant. This accounts for about 25% of the warnings generated when building with that option.

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

              Created:
              Updated:
              Resolved: