Use THROW_NULL instead of THROW_0 in pointer contexts in misc runtime code

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 24
    • Affects Version/s: None
    • Component/s: hotspot
    • None
    • b10

      There are many places in various runtime-related directories where THROW_0 (or THROW_MSG_0) is used, where the return type of the function is a pointer type. These should instead be using THROW_NULL (or THROW_MSG_NULL), both for clarity and to avoid -Wzero-as-null-pointer-constant warnings.

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

              Created:
              Updated:
              Resolved: