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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 24
    • Affects Version/s: 24
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: