harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From py...@apache.org
Subject svn commit: r427030 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/util/ScannerTest.java
Date Mon, 31 Jul 2006 06:40:39 GMT
Author: pyang
Date: Sun Jul 30 23:40:38 2006
New Revision: 427030

URL: http://svn.apache.org/viewvc?rev=427030&view=rev
Log:
Fix for HARMONY-1010 (setUp method in ScannerTest uses 'localhost' as the first parameter
of java.net.InetSocketAddress() method)

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/util/ScannerTest.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/util/ScannerTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/util/ScannerTest.java?rev=427030&r1=427029&r2=427030&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/util/ScannerTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/util/ScannerTest.java
Sun Jul 30 23:40:38 2006
@@ -5444,7 +5444,7 @@
         super.setUp();
 
         server = new ServerSocket(0);
-        address = new InetSocketAddress("localhost", server.getLocalPort());
+        address = new InetSocketAddress("127.0.0.1", server.getLocalPort());
 
         client = SocketChannel.open();
         client.connect(address);



Mime
View raw message