Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 4793 invoked from network); 14 May 2009 08:45:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 May 2009 08:45:10 -0000 Received: (qmail 4747 invoked by uid 500); 14 May 2009 08:45:10 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 4684 invoked by uid 500); 14 May 2009 08:45:10 -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 4675 invoked by uid 99); 14 May 2009 08:45:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 May 2009 08:45:09 +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; Thu, 14 May 2009 08:45:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A5B12234C052 for ; Thu, 14 May 2009 01:44:45 -0700 (PDT) Message-ID: <966939742.1242290685677.JavaMail.jira@brutus> Date: Thu, 14 May 2009 01:44:45 -0700 (PDT) From: "Regis Xu (JIRA)" To: commits@harmony.apache.org Subject: [jira] Resolved: (HARMONY-6085) [eut][classlib][nio] - modKey in SelectorImpl should set the new index key to the changed selectionkey In-Reply-To: <1594899416.1234172819741.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-6085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Regis Xu resolved HARMONY-6085. ------------------------------- Resolution: Fixed Fix Version/s: 5.0M10 Thanks Li Jing Qin. Patch applied at r774685, please verify. > [eut][classlib][nio] - modKey in SelectorImpl should set the new index key to the changed selectionkey > ------------------------------------------------------------------------------------------------------ > > Key: HARMONY-6085 > URL: https://issues.apache.org/jira/browse/HARMONY-6085 > Project: Harmony > Issue Type: Bug > Environment: linux > Reporter: Li Jing Qin > Assignee: Regis Xu > Fix For: 5.0M10 > > Attachments: HARMONY-6085.diff, org.eclipse.update.tests.core_linux.gtk.x86.html > > > modKey do two things: > 1. delkey > 2. addKey > When the old selectionKey is readded, new index which is returned from the addkey should be set to this selectionkey. > If does not do so. two problems will occurred, during eut update test on the lunix > 1. Delete the wrong selectionkey, which will cause the right selector.select() return RESOURCE NOT READY. More over it will cause the test case try lots of time to get the resource. > 2. ArrayIndexOutOfBounds because of the wrong index. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.