harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r549084 - /harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/tests/api/java/net/URLTest.java
Date Wed, 20 Jun 2007 12:24:56 GMT
Author: tellison
Date: Wed Jun 20 05:24:56 2007
New Revision: 549084

URL: http://svn.apache.org/viewvc?view=rev&rev=549084
Log:
Add missing slash. Dir name was being interpreted as a hostname (causing slow look-up).

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/tests/api/java/net/URLTest.java

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/tests/api/java/net/URLTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/tests/api/java/net/URLTest.java?view=diff&rev=549084&r1=549083&r2=549084
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/tests/api/java/net/URLTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/tests/api/java/net/URLTest.java
Wed Jun 20 05:24:56 2007
@@ -933,7 +933,7 @@
 
 			boolean exception = false;
 			try {
-				u = new URL("file://nonexistenttestdir/tstfile");
+				u = new URL("file:///nonexistenttestdir/tstfile");
 				u.openStream();
 			} catch (IOException e) {
 				// Correct behaviour



Mime
View raw message