You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-dev@ws.apache.org by Ryan Bloom <rb...@redhat.com> on 2004/06/16 16:04:04 UTC
[PATCH] remove deprecated call in WebServer.java
Index: src/java/org/apache/xmlrpc/WebServer.java
===================================================================
RCS file:
/home/cvspublic/ws-xmlrpc/src/java/org/apache/xmlrpc/WebServer.java,v
retrieving revision 1.24
diff -u -d -b -w -u -r1.24 WebServer.java
--- src/java/org/apache/xmlrpc/WebServer.java 1 May 2004 00:40:47 -0000
1.24
+++ src/java/org/apache/xmlrpc/WebServer.java 16 Jun 2004 13:36:24 -0000
@@ -339,7 +339,9 @@
// cool feature for applets.
String url = "http://www.mailtothefuture.com:80/RPC2";
addHandler("mttf", new XmlRpcClient(url));
- addHandler("system", new SystemHandler(xmlrpc));
+ SystemHandler system = new SystemHandler();
+ system.addDefaultSystemHandlers();
+ addHandler("system", system);
}
/**
[PATCH] Random port & async bug fix (was: Re: [PATCH] remove
deprecated call in WebServer.java)
Posted by Paul Guyot <pg...@kallisys.net>.
Aux environs du 16/06/04 à 18:49 -0700, sous le titre "Re: [PATCH]
remove deprecated call in WebServer.java", Daniel Rall prit sa plus
belle plume pour écrire les mots suivants:
>Thanks, committed in CVS rev 1.26.
Daniel, while you're at it, would you mind committing my 1 year old
patch about a random port in WebServer (you pass 0, it picks up any
port given by the JVM). I've updated it so the diff is against HEAD.
You'll also find attached a patch to fix a bug in executeAsync I
found yesterday. Currently, it ends with a Null pointer exception if
you have only one task and it will never execute the first task
anyway.
Paul
Re: [PATCH] remove deprecated call in WebServer.java
Posted by Daniel Rall <dl...@collab.net>.
Thanks, committed in CVS rev 1.26.
Ryan Bloom wrote:
> Index: src/java/org/apache/xmlrpc/WebServer.java
> ===================================================================
> RCS file:
> /home/cvspublic/ws-xmlrpc/src/java/org/apache/xmlrpc/WebServer.java,v
> retrieving revision 1.24
> diff -u -d -b -w -u -r1.24 WebServer.java
> --- src/java/org/apache/xmlrpc/WebServer.java 1 May 2004 00:40:47 -0000
> 1.24
> +++ src/java/org/apache/xmlrpc/WebServer.java 16 Jun 2004 13:36:24 -0000
> @@ -339,7 +339,9 @@
> // cool feature for applets.
> String url = "http://www.mailtothefuture.com:80/RPC2";
> addHandler("mttf", new XmlRpcClient(url));
> - addHandler("system", new SystemHandler(xmlrpc));
> + SystemHandler system = new SystemHandler();
> + system.addDefaultSystemHandlers();
> + addHandler("system", system);
> }
>
> /**