test/nashorn/script/basic/JDK-8019791.js.EXPECTED
author erikj
Tue, 12 Sep 2017 19:03:39 +0200
changeset 47216 71c04702a3d5
parent 20929 nashorn/test/script/basic/JDK-8019791.js.EXPECTED@f2bd18181940
permissions -rw-r--r--
8187443: Forest Consolidation: Move files to unified layout Reviewed-by: darcy, ihse
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
20929
f2bd18181940 8026167: Class cache/reuse of 'eval' scripts results in ClassCastException in some cases.
sundar
parents: 18840
diff changeset
     1
SyntaxError:33:Expected ; but found ~
18840
3e7bff1b7b59 8019791: ~ is a unary operator
sundar
parents:
diff changeset
     2
"" ~ ""
3e7bff1b7b59 8019791: ~ is a unary operator
sundar
parents:
diff changeset
     3
   ^
20929
f2bd18181940 8026167: Class cache/reuse of 'eval' scripts results in ClassCastException in some cases.
sundar
parents: 18840
diff changeset
     4
SyntaxError:41:Expected ) but found ~
18840
3e7bff1b7b59 8019791: ~ is a unary operator
sundar
parents:
diff changeset
     5
function() { if (1~0) return 0; return 1 }
3e7bff1b7b59 8019791: ~ is a unary operator
sundar
parents:
diff changeset
     6
                  ^