Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 74920 invoked from network); 26 Apr 2007 12:15:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Apr 2007 12:15:38 -0000 Received: (qmail 60349 invoked by uid 500); 26 Apr 2007 12:15:45 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 60010 invoked by uid 500); 26 Apr 2007 12:15:43 -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 60000 invoked by uid 99); 26 Apr 2007 12:15:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 05:15:43 -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; Thu, 26 Apr 2007 05:15:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 42E38714079 for ; Thu, 26 Apr 2007 05:15:16 -0700 (PDT) Message-ID: <7213775.1177589716271.JavaMail.jira@brutus> Date: Thu, 26 Apr 2007 05:15: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 Fix Version/s: 1.4 fixed in svn r532720 > 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.