nashorn/test/script/basic/JDK-8019791.js.EXPECTED
author thartmann
Mon, 02 Jun 2014 08:07:29 +0200
changeset 24923 9631f7d691dc
parent 20929 f2bd18181940
permissions -rw-r--r--
8034812: remove IDX_INIT macro hack in Node class Summary: The IDX_INIT macro used by Node::Node(...) to retrieve the Compile object is removed and replaced by a call to Compile::current(). The Node constructor, new operator and all calls to it are adapted accordingly. Reviewed-by: kvn, jrose, iveresov, goetz
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
                  ^