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

cppInterpreter: fix message of NPE

XMLWordPrintable

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

        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.

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

                Created:
                Updated:
                Resolved: