nashorn/test/script/basic/NASHORN-575.js.EXPECTED
author hannesw
Wed, 10 Apr 2013 14:05:11 +0200
changeset 16939 9e3a9eda5775
parent 16147 e63b63819133
permissions -rw-r--r--
8011749: Bugs with empty character class handling Reviewed-by: lagergren, attila

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/}
         ^