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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: