This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
org.apache.xmlrpc compiles natively!
- From: "Erik Poupaert" <erik dot poupaert at chello dot be>
- To: <java at gcc dot gnu dot org>
- Date: Mon, 10 Feb 2003 19:48:48 +0100
- Subject: org.apache.xmlrpc compiles natively!
I've run into the following problems compiling apache's xmlrpc:
(1) The main trouble ticket is in java.net.URL.
In libgcj url.openConnection() will by default request a http GET, while the
jdk will request a http POST by default. XML-RPC requires a POST. Therefore,
the ordinary XmlRpcClient will work with the jdk, but not with gcj. The
XmlRpcClientLite, however, implements its own httpClient. Therefore, it will
work with libgcj.
I guess libgcj should revert to the standard behaviour and request a http
POST instead of a http GET.
(2) a second trouble ticket is more complicated.
When a parent class defines an object field f with no visibility modifiers
(protected,private, public), gcj will compile it as being protected, but for
the one or the other reason, it's value will remain null. When a method
invoked in the parent class assigns a value to f, this will not be visible
in the subclass.
If someone is interested in a native org.apache.xmlrpc, feel free to ask!