[kaffe] [Bug report] URL.getHost() returning null
Daniel.Bonniot at inria.fr
Thu Jul 1 10:09:58 PDT 2004
I'm concerned about the result of getHost() on a java.net.URL, when
there is no host part in the URL. Unfortunately the Sun's javadoc is not
clear in this case (while it is in this case for getFile -- empty string
-- and getRef -- null). However, both Sun and gcj/gij agree on returnin
an empty string. It would be nice if Kaffe could do the same instead of
returning null. (Is this a part that is not merged yes with Classpath?).
I attach a testcase.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 225 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20040701/04ae84a9/attachment-0002.java
More information about the kaffe