test/script/basic/JDK-8019814.js.EXPECTED

Mon, 07 Apr 2014 21:57:33 +0530

author
sundar
date
Mon, 07 Apr 2014 21:57:33 +0530
changeset 830
3cb09c560108
parent 0
b1a7da25b547
permissions
-rw-r--r--

8039387: Nashorn supports indexed access of List elements, but length property is not supported
Reviewed-by: lagergren, jlaskey

     1 ReferenceError: <function>:1:50 Invalid left hand side for assignment
     2 /*infloop*/while(((function ()4.)([z1,,], [,,]) - true++))switch(1e+81.x) { default: break; 	 }
     3                                                   ^
     4 SyntaxError: <function>:1:5 Expected l-value but found )
     5 if(--) y;
     6      ^

mercurial