From 3e5dea0a4be5430de30e32001f1c690ebe70672b Mon Sep 17 00:00:00 2001 From: tromey Date: Fri, 21 Apr 2000 14:18:49 +0000 Subject: * gnu/gcj/protocol/file/Handler.java (openConnection): Use `setURL', not `url.set'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33306 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/gnu/gcj/protocol/file/Handler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libjava/gnu') diff --git a/libjava/gnu/gcj/protocol/file/Handler.java b/libjava/gnu/gcj/protocol/file/Handler.java index 285880d8c3d..b12ebd42b29 100644 --- a/libjava/gnu/gcj/protocol/file/Handler.java +++ b/libjava/gnu/gcj/protocol/file/Handler.java @@ -1,6 +1,6 @@ // Handler.java - URLStreamHandler for file protocol. -/* Copyright (C) 1999 Free Software Foundation +/* Copyright (C) 1999, 2000 Free Software Foundation This file is part of libgcj. @@ -37,7 +37,7 @@ public class Handler extends URLStreamHandler // 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. - url.set("ftp", url.getHost(), url.getPort(), url.getFile(), + setURL (url, "ftp", url.getHost(), url.getPort(), url.getFile(), url.getRef()); // Until the ftp protocol handler is written, this will cause // a NullPointerException. -- cgit v1.2.3