Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 39688 invoked from network); 20 May 2010 09:19:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 May 2010 09:19:41 -0000 Received: (qmail 75542 invoked by uid 500); 20 May 2010 09:19:40 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 75470 invoked by uid 500); 20 May 2010 09:19:39 -0000 Mailing-List: contact dev-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 dev@harmony.apache.org Received: (qmail 75459 invoked by uid 99); 20 May 2010 09:19:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 May 2010 09:19:38 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_MED,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 195.212.17.162 is neither permitted nor denied by domain of mark.hindess@googlemail.com) Received: from [195.212.17.162] (HELO mtagate2.de.ibm.com) (195.212.17.162) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 May 2010 09:19:30 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate2.de.ibm.com (8.13.1/8.13.1) with ESMTP id o4K9J87N027172 for ; Thu, 20 May 2010 09:19:08 GMT Received: from d12av01.megacenter.de.ibm.com (d12av01.megacenter.de.ibm.com [9.149.165.212]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o4K9J8X5606408 for ; Thu, 20 May 2010 11:19:08 +0200 Received: from d12av01.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av01.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id o4K9J8W8025144 for ; Thu, 20 May 2010 11:19:08 +0200 Received: from anaheim.local (dhcp-9-20-183-68.hursley.ibm.com [9.20.183.68]) by d12av01.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id o4K9J8iZ025141 for ; Thu, 20 May 2010 11:19:08 +0200 Message-Id: <201005200919.o4K9J8iZ025141@d12av01.megacenter.de.ibm.com> X-Mailer: exmh version 2.7.2 01/07/2005 (debian 1:2.7.2-18) with nmh-1.3 In-reply-to: <4BF4F9A4.6050201@gmail.com> References: <201005142248.o4EMmGXL008475@d06av02.portsmouth.uk.ibm.com> <4BF3B231.301@googlemail.com> <4BF4EC09.3090407@gmail.com> <201005200846.o4K8kYKw030351@d06av04.portsmouth.uk.ibm.com> <4BF4F9A4.6050201@gmail.com> Comments: In-reply-to Regis message dated "Thu, 20 May 2010 16:58:12 +0800." From: Mark Hindess To: dev@harmony.apache.org Subject: Re: [general] Code Freeze for Milestone 5.0M14 and 6.0M2 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 20 May 2010 10:19:08 +0100 In message <4BF4F9A4.6050201@gmail.com>, Regis writes: > > On 2010-05-20 16:46, Mark Hindess wrote: > > > > In message<4BF4EC09.3090407@gmail.com>, Regis writes: > >> > >> On 2010-05-19 20:45, Catherine Hope wrote: > >>> I also see these 2 tests failing in the same way. It seems to be > >>> caused by Regis' commit 944119 "SocketChannelImpl.SocketAdapter's > >>> remote address should be updated after channel connected" on > >>> 14/05/2010. It could be that the tests are invalid though - > >>> the first one is checking that the SocketAddress returned by > >>> getRemoteAddress() is a different object to the one that was passed > >>> to connect(), though as SocketAddress is immutable would this cause > >>> a problem? > >>> > >> > >> The test case expect behaviors to be exactly same with RI, but I don't > >> think it's a big deal, I intend to delete this assert. > >> > >> for - testSocket_NonBlock_BasicStatusAfterConnect, isConnected() > >> should check first, following patch can fix it. And again, the test > >> failed at same line as BasicStatusAfterConnect. > >> > >> Following patch can fix these failures, I'd like to commit it if > >> second committer agree this. > > > > -1 > > > > I am +1 for the patch to SocketChannelImpl.java because this fixes > > behaviour. > > > > However, I am -1 for the patch to SocketChannelTest.java because we > > don't fix broken tests during code freeze. > > All right, how about this (create new InetSocketAddress instance everytime): -1 Fix the behaviour for testSocket_NonBlock_BasicStatusAfterConnect. Do not make any changes for the other failure - i.e. leave it failing - and remove it after the code freeze. -Mark.