nashorn/test/script/basic/JDK-8025147.js.EXPECTED
author hannesw
Fri, 03 Feb 2017 13:28:00 +0100
changeset 43555 1bb10bccf057
parent 20218 5818e1531c40
permissions -rw-r--r--
8173888: Test for JDK-8169481 causes stack overflows in parser tests Reviewed-by: jlaskey, sundar
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
20218
5818e1531c40 8025147: Trailing comma is not allowed in JSONArray and JSONObject
sundar
parents:
diff changeset
     1
SyntaxError: Invalid JSON: <json>:1:12 Trailing comma is not allowed in JSON
5818e1531c40 8025147: Trailing comma is not allowed in JSONArray and JSONObject
sundar
parents:
diff changeset
     2
{ "a": 333, }
5818e1531c40 8025147: Trailing comma is not allowed in JSONArray and JSONObject
sundar
parents:
diff changeset
     3
            ^
5818e1531c40 8025147: Trailing comma is not allowed in JSONArray and JSONObject
sundar
parents:
diff changeset
     4
SyntaxError: Invalid JSON: <json>:1:8 Trailing comma is not allowed in JSON
5818e1531c40 8025147: Trailing comma is not allowed in JSONArray and JSONObject
sundar
parents:
diff changeset
     5
[ 4343, ]
5818e1531c40 8025147: Trailing comma is not allowed in JSONArray and JSONObject
sundar
parents:
diff changeset
     6
        ^