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

[lworld] [lw3] runtime\exceptionMsgs\NullPointerException\NullPointerExceptionTest.java test fails because of new error message

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • repo-valhalla
    • hotspot

      runtime\exceptionMsgs\NullPointerException\NullPointerExceptionTest.java tests fail to recognize the new error message of NullPointerException:

      Source code:
        oa1[0] = new Object();

      Output:
      java.lang.NullPointerException: Cannot store to object array because "<local3>" is null or is a null-free array and there's an attempt to store null in it
      at NullPointerExceptionTest.testFailedAction(NullPointerExceptionTest.java:301)
      expected msg: Cannot store to object array because "<local3>" is null

            fparain Frederic Parain
            fparain Frederic Parain
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: