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

Change string printed by nsk_null_string for null strings

XMLWordPrintable

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

      The function nsk_null_string test/hotspot/jtreg/vmTestbase/nsk/share/native/nsk_tools.hpp prints "<NULL>" when the argument is a null pointer. The comment describing the function includes that literal string. This interferes with searching HotSpot code for uses of NULL, which is forbidden. An exception could be made for this case, but it might be simpler to change the printed string for that case.

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

              Created:
              Updated:
              Resolved: