Cannot cast jdk.nashorn.internal.objects.NativeArray to java.util.Collection
tal.liron at threecrickets.com
Wed Sep 17 14:09:45 UTC 2014
Odd! It used to work, I am certain.
On 09/17/2014 09:47 PM, A. Sundararajan wrote:
> var arr = [233, 22];
> var list = Java.to(arr, java.util.List);
> print(list instanceof java.util.List);
> recall auto conversion from script arrays to collections.
More information about the nashorn-dev