Cannot cast jdk.nashorn.internal.objects.NativeArray to java.util.Collection
sundararajan.athijegannathan at oracle.com
Wed Sep 17 13:47:57 UTC 2014
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.
On Wednesday 17 September 2014 07:08 PM, Tal Liron wrote:
> I'm getting these errors with the recent hg update. In the past, I
> Is this change intentional? What is the rationale for it?
More information about the nashorn-dev