nashorn/test/script/basic/NASHORN-575.js.EXPECTED
author attila
Thu, 04 Apr 2013 15:53:26 +0200
changeset 16777 207a993adb9a
parent 16147 e63b63819133
permissions -rw-r--r--
8011544: Allow subclassing Java classes from script without creating instances 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/}
         ^