test/script/basic/NASHORN-575.js.EXPECTED

Tue, 15 Jan 2019 10:36:25 +0000

author
aefimov
date
Tue, 15 Jan 2019 10:36:25 +0000
changeset 2462
e9169a96a3d1
parent 0
b1a7da25b547
permissions
-rw-r--r--

Added tag jdk8u202-ga for changeset 7aeae6eb6236

     1 SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found /
     2 // foo
     3 ^
     4 SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found /
     5 /* foo */
     6 ^
     7 SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found /
     8 /foo/
     9 ^
    10 SyntaxError: Invalid JSON: <json>:1:15 Expected , or } but found /
    11 {"foo" : "bar" // foo }
    12                ^
    13 SyntaxError: Invalid JSON: <json>:1:15 Expected , or } but found /
    14 {"foo" : "bar" /* foo */ }
    15                ^
    16 SyntaxError: Invalid JSON: <json>:1:9 Expected json literal but found /
    17 {"foo" : /foo/}
    18          ^

mercurial