Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 68324 invoked from network); 28 Aug 2009 07:27:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Aug 2009 07:27:23 -0000 Received: (qmail 84115 invoked by uid 500); 28 Aug 2009 07:27:23 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 84081 invoked by uid 500); 28 Aug 2009 07:27:23 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 84072 invoked by uid 99); 28 Aug 2009 07:27:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Aug 2009 07:27:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Aug 2009 07:27:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 799D9234C1EF for ; Fri, 28 Aug 2009 00:26:59 -0700 (PDT) Message-ID: <1829945774.1251444419497.JavaMail.jira@brutus> Date: Fri, 28 Aug 2009 00:26:59 -0700 (PDT) From: "Ray Chen (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-6324) [classlib][nio]SocketChannelTest.test_finishConnect may failed when the port number has been occupied In-Reply-To: <2098664823.1251430379262.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-6324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12748704#action_12748704 ] Ray Chen commented on HARMONY-6324: ----------------------------------- Hi, Mark The line 1730: "boolean connected = channel1.connect(address);" as a client connect to the address created at the first line of the test case So I use "SocketAddress address = new InetSocketAddress("localhost", 0);" but it failed to connect the address. I run the test on windows XP. Do you the reason? Thank you! -- Ray Chen MSN:clraychen@hotmail.com Email:clarychen@gmail.com > [classlib][nio]SocketChannelTest.test_finishConnect may failed when the port number has been occupied > ----------------------------------------------------------------------------------------------------- > > Key: HARMONY-6324 > URL: https://issues.apache.org/jira/browse/HARMONY-6324 > Project: Harmony > Issue Type: Bug > Components: Classlib > Affects Versions: 5.0M11 > Environment: all platform > Reporter: Ray Chen > Assignee: Mark Hindess > Priority: Minor > Attachments: 6324.diff > > Original Estimate: 24h > Remaining Estimate: 24h > > If the port number has been occupied, the test case failed because of java.net.BindException -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.