[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: clarified comment in file handler

Kaffe CVS cvs-commits at kaffe.org
Tue Sep 21 04:46:44 PDT 2004


PatchSet 5193 
Date: 2004/09/21 11:43:07
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: clarified comment in file handler

2004-09-21  Dalibor Topic  <robilad at kaffe.org>

        * libraries/javalib/gnu/java/net/protocol/file/Handler.java:
        Resynced with GNU Classpath.

        2004-09-20  Michael Koch  <konqueror at gmx.de>

        * gnu/java/net/protocol/file/Handler.java
        (openConnection): Clarified comment.

Members: 
	ChangeLog:1.2748->1.2749 
	libraries/javalib/gnu/java/net/protocol/file/Handler.java:1.6->1.7 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2748 kaffe/ChangeLog:1.2749
--- kaffe/ChangeLog:1.2748	Tue Sep 21 11:36:30 2004
+++ kaffe/ChangeLog	Tue Sep 21 11:43:07 2004
@@ -1,5 +1,15 @@
 2004-09-21  Dalibor Topic  <robilad at kaffe.org>
 
+	* libraries/javalib/gnu/java/net/protocol/file/Handler.java:
+        Resynced with GNU Classpath.
+
+	2004-09-20  Michael Koch  <konqueror at gmx.de>
+
+        * gnu/java/net/protocol/file/Handler.java
+        (openConnection): Clarified comment.
+
+2004-09-21  Dalibor Topic  <robilad at kaffe.org>
+
 	* libraries/javalib/javax/swing/JInternalFrame.java,
 	libraries/javalib/javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
         Resynced with GNU Classpath.
Index: kaffe/libraries/javalib/gnu/java/net/protocol/file/Handler.java
diff -u kaffe/libraries/javalib/gnu/java/net/protocol/file/Handler.java:1.6 kaffe/libraries/javalib/gnu/java/net/protocol/file/Handler.java:1.7
--- kaffe/libraries/javalib/gnu/java/net/protocol/file/Handler.java:1.6	Sat Apr 24 07:48:36 2004
+++ kaffe/libraries/javalib/gnu/java/net/protocol/file/Handler.java	Tue Sep 21 11:43:08 2004
@@ -79,9 +79,8 @@
 	// 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.
-	// N.B.: FTP protocol is not supported by default in GNU Classpath
-	// but it does not matter because setURL will keep the current protocol
-	// if "ftp" is not available.
+	// If the ftp protocol handler is not installed, an 
+	// exception will be thrown from the new openConnection() call.
 	setURL (url, "ftp", url.getHost(), url.getPort(), url.getFile(),
 	        url.getRef());
 	return url.openConnection();




More information about the kaffe mailing list