nashorn/test/script/basic/NASHORN-575.js.EXPECTED
author attila
Mon, 20 May 2013 21:25:14 +0200 (2013-05-20)
changeset 17758 2b056941e4dd
parent 16147 e63b63819133
permissions -rw-r--r--
8014797: rename Java.toJavaArray/toJavaScriptArray to Java.to/from, respectively. Reviewed-by: jlaskey, sundar
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/}
         ^