nashorn/test/script/basic/JDK-8019805.js.EXPECTED
author hannesw
Mon, 15 Sep 2014 17:51:11 +0200
changeset 26648 9a64e15eff37
parent 20929 f2bd18181940
permissions -rw-r--r--
8056978: ClassCastException: cannot cast jdk.nashorn.internal.scripts.JO* Reviewed-by: jlaskey, sundar
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: 18843
diff changeset
     1
SyntaxError:32:for each can only be used with for..in
18843
eea6d1b8263e 8019805: for each (init; test; modify) is invalid
sundar
parents:
diff changeset
     2
for each(var v=0;false;);
eea6d1b8263e 8019805: for each (init; test; modify) is invalid
sundar
parents:
diff changeset
     3
                ^