Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 86371 invoked from network); 27 Apr 2007 13:35:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Apr 2007 13:35:39 -0000 Received: (qmail 10758 invoked by uid 500); 27 Apr 2007 13:35:44 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 10730 invoked by uid 500); 27 Apr 2007 13:35:44 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 10721 invoked by uid 99); 27 Apr 2007 13:35:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 06:35:44 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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; Fri, 27 Apr 2007 06:35:37 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 906FF714079 for ; Fri, 27 Apr 2007 06:35:16 -0700 (PDT) Message-ID: <9602759.1177680916588.JavaMail.jira@brutus> Date: Fri, 27 Apr 2007 06:35:16 -0700 (PDT) From: "Stefan Guggisberg (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Resolved: (JCR-862) unsynchronized access on 'itemCache' map in ItemManager In-Reply-To: <23946339.1177421415546.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Guggisberg resolved JCR-862. ----------------------------------- Resolution: Fixed fixed in svn r533091 > unsynchronized access on 'itemCache' map in ItemManager > -------------------------------------------------------- > > Key: JCR-862 > URL: https://issues.apache.org/jira/browse/JCR-862 > Project: Jackrabbit > Issue Type: Bug > Components: core > Affects Versions: 1.2.3 > Reporter: Tobias Bocanegra > Assigned To: Stefan Guggisberg > Fix For: 1.4 > > > the access 'itemCache' map in ItemManager is mostly synchronized by not via the ItemStateListener methods: > [...] > public void stateCreated(ItemState created) { > ItemImpl item = retrieveItem(created.getId()); > if (item != null) { > item.stateCreated(created); > } > } > [...] > private ItemImpl retrieveItem(ItemId id) { > return (ItemImpl) itemCache.get(id); > } > [...] > this can result in a corruption of a map (eg subsequent accesses may result in a endless loop). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.