aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/gcj/protocol/file/Handler.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/gcj/protocol/file/Handler.java')
-rw-r--r--libjava/gnu/gcj/protocol/file/Handler.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/libjava/gnu/gcj/protocol/file/Handler.java b/libjava/gnu/gcj/protocol/file/Handler.java
index b4d8fbf..f48ef8e 100644
--- a/libjava/gnu/gcj/protocol/file/Handler.java
+++ b/libjava/gnu/gcj/protocol/file/Handler.java
@@ -35,6 +35,8 @@ public class Handler extends URLStreamHandler
String host = url.getHost();
if ((host != null) && (! host.equals("")))
{
+ throw new IOException("ftp protocol handler not yet implemented.");
+ /*
// Reset the protocol (and implicitly the handler) for this URL.
// Then have the URL attempt the connection again, as it will
// get the changed handler the next time around.
@@ -43,6 +45,7 @@ public class Handler extends URLStreamHandler
// Until the ftp protocol handler is written, this will cause
// a NullPointerException.
return url.openConnection();
+ */
}
return new Connection(url);