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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: