mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8007322: untangle ftp protocol from general networking URL tests
Reviewed-by: alanb
This commit is contained in:
parent
8da1d4a40c
commit
b61bb15030
17 changed files with 327 additions and 517 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue