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

Fix -Wzero-as-null-pointer-constant warning in Type_Array ctor

XMLWordPrintable

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

      The class Type_Array has a pointer-typed data member _types. The Type_Array constructor initializes that member to 0. This triggers -Wzero-as-null-pointer-constant when that warning is enabled.

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

              Created:
              Updated:
              Resolved: