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

Fix -Wzero-as-null-pointer-constant warnings in nsk native test utilities

XMLWordPrintable

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

      There is a use of zero as a null pointer constant in the native_thread.cpp test utility. Changing it to nullptr removes nearly 600 warnings, as this file is used by many tests via inclusion. The adjacent nsk_list.cpp test utility is similar, though it is only included in a couple of places.

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

              Created:
              Updated:
              Resolved: