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

Fix -Wzero-as-null-pointer-constant warnings in RootNode ctor

    XMLWordPrintable

Details

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

    Description

      The RootNode constructor calls the LoopNode constructor with 2 arguments, both 0. These arguments have pointer type. 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: