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

cppInterpreter: fix message of NPE

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • hotspot
    • None
    • b04

    Backports

      Description

        The cppInterpreter generates a NullPointerException with "" as message. Jck test
        api/java_util/Objects/index.html#RequireNonNullMessageSupplier expects NULL. This is also what the template interpreter uses.

        Fix: change "" to NULL.

        Attachments

          Issue Links

            Activity

              People

                goetz Goetz Lindenmaier
                goetz Goetz Lindenmaier
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: