nashorn/test/script/basic/NASHORN-575.js.EXPECTED
author sundar
Thu, 09 Jan 2014 19:23:34 +0530
changeset 22379 5181d08e3440
parent 16147 e63b63819133
permissions -rw-r--r--
8031359: Invocable.getInterface() works incorrectly if interface has default methods Reviewed-by: attila, hannesw
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     1
SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found /
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     2
// foo
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     3
^
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     4
SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found /
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     5
/* foo */
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     6
^
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     7
SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found /
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     8
/foo/
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     9
^
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    10
SyntaxError: Invalid JSON: <json>:1:15 Expected , or } but found /
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    11
{"foo" : "bar" // foo }
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    12
               ^
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    13
SyntaxError: Invalid JSON: <json>:1:15 Expected , or } but found /
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    14
{"foo" : "bar" /* foo */ }
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    15
               ^
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    16
SyntaxError: Invalid JSON: <json>:1:9 Expected json literal but found /
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    17
{"foo" : /foo/}
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    18
         ^