Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 88314 invoked from network); 12 Feb 2007 09:07:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Feb 2007 09:07:26 -0000 Received: (qmail 49959 invoked by uid 500); 12 Feb 2007 09:07:33 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 49931 invoked by uid 500); 12 Feb 2007 09:07:33 -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 49922 invoked by uid 99); 12 Feb 2007 09:07:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Feb 2007 01:07:33 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Feb 2007 01:07:25 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9ACC97141A3 for ; Mon, 12 Feb 2007 01:07:05 -0800 (PST) Message-ID: <30610181.1171271225631.JavaMail.jira@brutus> Date: Mon, 12 Feb 2007 01:07:05 -0800 (PST) From: "Tony Wu (JIRA)" To: commits@harmony.apache.org Subject: [jira] Created: (HARMONY-3159) [classlib][nio]refactor testcases in DatagramChannelTest to avoid getting port unsafely MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [classlib][nio]refactor testcases in DatagramChannelTest to avoid getting port unsafely --------------------------------------------------------------------------------------- Key: HARMONY-3159 URL: https://issues.apache.org/jira/browse/HARMONY-3159 Project: Harmony Issue Type: Sub-task Components: Classlib Reporter: Tony Wu There are following lines in setUp(), this.localAddr1 = new InetSocketAddress("127.0.0.1", Support_PortManager.getNextPort()); this.localAddr2 = new InetSocketAddress("127.0.0.1", Support_PortManager.getNextPort()); Support_PortManager may be not necessary here because these addresses could be get after binding on 0 port. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.