Changeset 1178:2b9af466a49d ()fix for JDK-8062141) causes the test for JDK-8068872 to fail with an AssertionError: $ java -ea -jar dist/nashorn.jar test/script/basic/JDK-8068872.js Exception in thread "main" java.lang.AssertionError at jdk.nashorn.internal.runtime.arrays.DeletedArrayFilter.delete(DeletedArrayFilter.java:150) at jdk.nashorn.internal.runtime.arrays.DeletedRangeArrayFilter.delete(DeletedRangeArrayFilter.java:231) at jdk.nashorn.internal.parser.JSONParser.addArrayElement(JSONParser.java:237) at jdk.nashorn.internal.parser.JSONParser.parseObject(JSONParser.java:205) at jdk.nashorn.internal.parser.JSONParser.parseLiteral(JSONParser.java:160) at jdk.nashorn.internal.parser.JSONParser.parse(JSONParser.java:143) at jdk.nashorn.internal.runtime.JSONFunctions.parse(JSONFunctions.java:79) at jdk.nashorn.internal.objects.NativeJSON.parse(NativeJSON.java:105)