test/script/basic/JDK-8025147.js.EXPECTED

Thu, 05 Feb 2015 14:47:28 +0100

author
hannesw
date
Thu, 05 Feb 2015 14:47:28 +0100
changeset 1229
f8da39d33117
parent 0
b1a7da25b547
permissions
-rw-r--r--

8068872: Nashorn JSON.parse drops numeric keys
Reviewed-by: attila, lagergren

aoqi@0 1 SyntaxError: Invalid JSON: <json>:1:12 Trailing comma is not allowed in JSON
aoqi@0 2 { "a": 333, }
aoqi@0 3 ^
aoqi@0 4 SyntaxError: Invalid JSON: <json>:1:8 Trailing comma is not allowed in JSON
aoqi@0 5 [ 4343, ]
aoqi@0 6 ^

mercurial