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
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