nashorn/test/script/error/JDK-8026039.js.EXPECTED
author thartmann
Mon, 02 Jun 2014 08:07:29 +0200
changeset 24923 9631f7d691dc
parent 20571 f52b0abf5d88
child 24778 2ff5d7041566
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

test/script/error/JDK-8026039.js:30:9 "public" cannot be used as function name in strict mode
function public() {"use strict"}
         ^
test/script/error/JDK-8026039.js:32:11 Expected ident but found public
function f(public) {"use strict"} 
           ^
test/script/error/JDK-8026039.js:33:0 Expected } but found eof

^