nashorn/test/script/basic/NASHORN-575.js.EXPECTED
author hannesw
Mon, 14 Dec 2015 14:27:46 +0100
changeset 34732 6605efbe8447
parent 16147 e63b63819133
permissions -rw-r--r--
8144020: Remove long as an internal numeric type Reviewed-by: attila, sundar, lagergren

SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found /
// foo
^
SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found /
/* foo */
^
SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found /
/foo/
^
SyntaxError: Invalid JSON: <json>:1:15 Expected , or } but found /
{"foo" : "bar" // foo }
               ^
SyntaxError: Invalid JSON: <json>:1:15 Expected , or } but found /
{"foo" : "bar" /* foo */ }
               ^
SyntaxError: Invalid JSON: <json>:1:9 Expected json literal but found /
{"foo" : /foo/}
         ^