[kaffe] CVS kaffe (robilad): resynced with gnu classpath: http fix

Kaffe CVS cvs-commits at kaffe.org
Sun May 29 18:25:46 PDT 2005


PatchSet 6593 
Date: 2005/05/30 01:17:01
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
resynced with gnu classpath: http fix

Members: 
	libraries/javalib/gnu/java/net/protocol/http/HTTPURLConnection.java:1.9->1.10 

Index: kaffe/libraries/javalib/gnu/java/net/protocol/http/HTTPURLConnection.java
diff -u kaffe/libraries/javalib/gnu/java/net/protocol/http/HTTPURLConnection.java:1.9 kaffe/libraries/javalib/gnu/java/net/protocol/http/HTTPURLConnection.java:1.10
--- kaffe/libraries/javalib/gnu/java/net/protocol/http/HTTPURLConnection.java:1.9	Mon May 30 00:37:45 2005
+++ kaffe/libraries/javalib/gnu/java/net/protocol/http/HTTPURLConnection.java	Mon May 30 01:17:01 2005
@@ -308,7 +308,10 @@
           {
             responseSink = new ByteArrayInputStream(reader.toByteArray ());
             if (response.getCode() == 404)
-	      errorSink = responseSink;
+	      {
+		errorSink = responseSink;
+		throw new FileNotFoundException(url.toString());
+	      }
           }
       }
     while (retry);




More information about the kaffe mailing list