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

Fix -Wzero-as-null-pointer-constant warnings in PRODUCT-only code

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • None
    • hotspot
    • b18

      There are a few places in PRODUCT-only code where a literal zero is used in a pointer context, triggering -Wzero-as-null-pointer-constant. One that occurs in several places is a function returning a pointer with PRODUCT_RETURN0 as the body.

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

              Created:
              Updated:
              Resolved: