org.apache.xmlrpc compiles natively!

Erik Poupaert erik.poupaert@chello.be
Mon Feb 10 18:52:00 GMT 2003


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!


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /