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

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 24
    • None
    • hotspot
    • None
    • b10

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: