Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 28079 invoked from network); 26 Jul 2010 11:10:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Jul 2010 11:10:18 -0000 Received: (qmail 80193 invoked by uid 500); 26 Jul 2010 11:10:18 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 79478 invoked by uid 500); 26 Jul 2010 11:10:15 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 79471 invoked by uid 99); 26 Jul 2010 11:10:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jul 2010 11:10:14 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jul 2010 11:10:11 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6QB9oMI017831 for ; Mon, 26 Jul 2010 11:09:50 GMT Message-ID: <20662389.584941280142590168.JavaMail.jira@thor> Date: Mon, 26 Jul 2010 07:09:50 -0400 (EDT) From: "Jakob Korherr (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Resolved: (MYFACES-2840) Use a copied Iterator instead of the real Enumeration in AbstractAttributeMap.AbstractAttributeIterator In-Reply-To: <11123964.584291280139709878.JavaMail.jira@thor> 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/MYFACES-2840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jakob Korherr resolved MYFACES-2840. ------------------------------------ Fix Version/s: 1.1.9-SNAPSHOT 1.2.10-SNAPSHOT 2.0.2-SNAPSHOT Resolution: Fixed > Use a copied Iterator instead of the real Enumeration in AbstractAttributeMap.AbstractAttributeIterator > ------------------------------------------------------------------------------------------------------- > > Key: MYFACES-2840 > URL: https://issues.apache.org/jira/browse/MYFACES-2840 > Project: MyFaces Core > Issue Type: Task > Affects Versions: 1.1.8, 1.2.9, 2.0.1 > Reporter: Jakob Korherr > Assignee: Jakob Korherr > Fix For: 1.1.9-SNAPSHOT, 1.2.10-SNAPSHOT, 2.0.2-SNAPSHOT > > > We can use a copied version of the Enumeration from getAttributeNames() here, because directly using it might cause a ConcurrentModificationException when performing remove(). Note that we can do this since the Enumeration from getAttributeNames() will contain exactly the attribute names from the time getAttributeNames() was called and it will not be updated if attributes are removed or added. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.