test/nashorn/script/basic/JDK-8025147.js.EXPECTED
author mikael
Thu, 19 Apr 2018 17:13:19 -0700
changeset 49838 b37e0785ce0b
parent 47216 71c04702a3d5
permissions -rw-r--r--
8202052: Disable warnings when building libawt with VS2017 Reviewed-by: erikj, prr
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
        ^