updated Makefile.common
[org.ibex.core.git] / src / org / ibex / net / XMLRPC.java
index e6a3f65..72a2c76 100644 (file)
@@ -141,7 +141,7 @@ public class XMLRPC extends JS {
             case "data":
                 int i;
                 for(i=objects.size() - 1; objects.elementAt(i) != null; i--);
-                JS arr = JS.newArray();
+                JS arr = new JSArray();
                 try {
                     for(int j = i + 1; j<objects.size(); j++) arr.put(JS.N(j - i - 1), (JS)objects.elementAt(j));
                 } catch (JSExn e) {
@@ -187,7 +187,7 @@ public class XMLRPC extends JS {
 
     /** Appends the XML-RPC representation of <code>o</code> to <code>sb</code> */
     void appendObject(JS o, StringBuffer sb) throws JSExn {
-        // FIXME: Update for new api
+        // JS:FIXME: Update for new api
         throw new Error("FIXME");
         /*if (o == null) {
             throw new JSExn("attempted to send a null value via XML-RPC");