Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 93776 invoked from network); 18 Aug 2006 02:40:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Aug 2006 02:40:31 -0000 Received: (qmail 7977 invoked by uid 500); 18 Aug 2006 02:40:31 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 7937 invoked by uid 500); 18 Aug 2006 02:40:30 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 7926 invoked by uid 99); 18 Aug 2006 02:40:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Aug 2006 19:40:30 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Aug 2006 19:40:30 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 2F8611A981A; Thu, 17 Aug 2006 19:40:10 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r432467 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/net/SocketTest.java Date: Fri, 18 Aug 2006 02:40:09 -0000 To: harmony-commits@incubator.apache.org From: ndbeyer@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060818024010.2F8611A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: ndbeyer Date: Thu Aug 17 19:40:05 2006 New Revision: 432467 URL: http://svn.apache.org/viewvc?rev=432467&view=rev Log: Apply patch for HARMONY-1212: [classlib][luni] Remove unnecessary external dependencies in tests.api.java.net.SocketTest.java Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/net/SocketTest.java Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/net/SocketTest.java URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/net/SocketTest.java?rev=432467&r1=432466&r2=432467&view=diff ============================================================================== --- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/net/SocketTest.java (original) +++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/net/SocketTest.java Thu Aug 17 19:40:05 2006 @@ -187,9 +187,10 @@ } else { int testPort = Support_PortManager.getNextPort(); Socket s1 = null, s2 = null; + int serverPort = ss.getLocalPort(); try { - s1 = new Socket(Support_Configuration.ProxyServerTestHost, 80, - InetAddress.getLocalHost(), testPort); + s1 = new Socket("127.0.0.1", serverPort, InetAddress + .getLocalHost(), testPort); } catch (IOException e) { e.printStackTrace(); @@ -213,8 +214,8 @@ } boolean exception = false; try { - s2 = new Socket(Support_Configuration.ProxyServerTestHost, 80, - InetAddress.getLocalHost(), testPort); + s2 = new Socket("127.0.0.1", serverPort, InetAddress + .getLocalHost(), testPort); } catch (IOException e) { exception = true; }