You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by te...@apache.org on 2007/06/20 14:24:56 UTC
svn commit: r549084 -
/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/tests/api/java/net/URLTest.java
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