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

Fix -Wzero-as-null-pointer-constant warnings in nsk jni stress tests

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • None
    • hotspot
    • master

      The nsk jni stress tests use literal zero as a null pointer constant in a number of places. Nearly all are as the 2nd (bool* noCopy) argument in calls to various Get<PrimitiveType>ArrayElements. Replace these with nullptr.

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

              Created:
              Updated:
              Resolved: