Elliotte Rusty Harold wrote:
Kaffe 1.1.2 is not correctly parsing the host out of URLs that include user names and passwords such as ftp://anonymous:[EMAIL PROTECTED]/
It reports the username as the host.
Code follows
import java.io.*; import java.net.*;
public class Test {
public static void main(String[] args) throws Exception { URL u = new URL("ftp://anonymous:[EMAIL PROTECTED]/"); String host = u.getHost(); System.out.println(host); }
}
Thanks for the bug report. Guilhem fixed it in CVS now.
cheers, dalibor topic
_______________________________________________ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
