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

C2: Fix -Wzero-as-null-pointer-constant warnings in derived Node ctors

    XMLWordPrintable

Details

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

    Description

      The constructor for the Node class takes a Node* as the first argument. Some derived class constructors pass a value of 0 for that argument. This triggers -Wzero-as-null-pointer-constant warnings when that option 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: