Use native JavaScript array when converting a XML-RPC Array.

This commit is contained in:
hns 2003-06-23 14:12:05 +00:00
parent 358d59fc40
commit 3443179755

View file

@ -388,7 +388,7 @@ public final class RhinoCore {
for (int i=0; i<a.length; i++) {
a[i] = processXmlRpcArgument(a[i]);
}
return Context.toObject(a, global);
return Context.getCurrentContext().newArray(global, a);
}
if (what instanceof Hashtable) {
Hashtable t = (Hashtable) what;