8007322: untangle ftp protocol from general networking URL tests

Reviewed-by: alanb
This commit is contained in:
Chris Hegarty 2013-02-02 17:15:13 +00:00
parent 8da1d4a40c
commit b61bb15030
17 changed files with 327 additions and 517 deletions

View file

@ -36,7 +36,7 @@ public class HandlerLoop {
public static void main(String args[]) throws Exception {
URL.setURLStreamHandlerFactory(
new HandlerFactory("sun.net.www.protocol"));
URL url = new URL("file://bogus/index.html");
URL url = new URL("file:///bogus/index.html");
System.out.println("url = " + url);
url.openConnection();
}