8015267: Allow conversion of JS arrays to Java List/Deque
Reviewed-by: lagergren, sundar
true
true
a
b
c
d
4
x,a,b,c,d
x,a,b,c,d,y
x
y
a,b,c,d
a,b,c,d,e,f
z,a,b,c,d,e,f
z,a,x,b,c,d,e,f
z,a,x,b,c,d,e,g
class java.lang.IndexOutOfBoundsException
class java.lang.IndexOutOfBoundsException
class java.lang.IndexOutOfBoundsException
class java.lang.IndexOutOfBoundsException
a,b,c,d,e
a
a
e
a
a
e
2,a,b,c,d,e,1,3
1,2,x,3,4,x,5,6,x,7,8
1,2,3,4,x,5,6,x,7,8
1,2,3,4,x,5,6,7,8
class java.util.NoSuchElementException
class java.util.NoSuchElementException
class java.util.NoSuchElementException
class java.util.NoSuchElementException
class java.util.NoSuchElementException
class java.util.NoSuchElementException
null
null
null