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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: