Bug ID: JDK-8072596 Arrays.asList results in ClassCastException with...
Arrays.asList() seems to be an issue with us now always wrapping JS objects into ScriptObjectMirror since JDK-8050977. We can no longer take the path where we convert a NativeArray to Object[] as we don't see a NativeArray, we see a ScriptObjectMirror.