nashorn/test/script/basic/list.js.EXPECTED
author hannesw
Wed, 25 Jun 2014 14:36:24 +0200
changeset 25243 7a1edca6ce94
parent 23770 cdedd86695a0
child 27976 ef54dfb4fc7d
permissions -rw-r--r--
8048079: Persistent code store is broken after optimistic types merge Reviewed-by: sundar, jlaskey, attila

l.class.name=java.util.ArrayList
l.length=2
l.size()=2
l[0]=foo
l[1]=bar
--for each begin--
foo
bar
--for each end--
l[0]=foo
l[1]=a
l[0.9]=null
l['blah']=null
l[size_name]()=2
java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
java.lang.IndexOutOfBoundsException: Index: Infinity, Size: 2
java.lang.IndexOutOfBoundsException: Index: -Infinity, Size: 2