Change string printed by nsk_null_string for null strings

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 24
    • Affects Version/s: None
    • Component/s: 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.

            Assignee:
            Coleen Phillimore
            Reporter:
            Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: