harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r794281 - /harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/SocketTest.java
Date Wed, 15 Jul 2009 14:25:38 GMT
Author: hindessm
Date: Wed Jul 15 14:25:38 2009
New Revision: 794281

URL: http://svn.apache.org/viewvc?rev=794281&view=rev
Log:
This regression test for HARMONY-946 should actually failed due to the
spurious space at the end of the 0.0.0.0 string.  Fixing the typo so
it should pass on RI too now.  We need to make it fail so I've raised
'HARMONY-6273 [classlib] [luni] InetAddress.getByName("0.0.0.0 ")
should throw UnknownHostException'.

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

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/SocketTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/SocketTest.java?rev=794281&r1=794280&r2=794281&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/SocketTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/SocketTest.java
Wed Jul 15 14:25:38 2009
@@ -545,7 +545,7 @@
 
         // Regression for HARMONY-946
         ServerSocket ss = new ServerSocket(0);
-        Socket s = new Socket("0.0.0.0 ", ss.getLocalPort());
+        Socket s = new Socket("0.0.0.0", ss.getLocalPort());
         ss.close();
         s.close();
     }



Mime
View raw message