Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 32624 invoked from network); 7 May 2008 12:37:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 May 2008 12:37:20 -0000 Received: (qmail 82052 invoked by uid 500); 7 May 2008 12:37:20 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 82012 invoked by uid 500); 7 May 2008 12:37:20 -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 82001 invoked by uid 99); 7 May 2008 12:37:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 May 2008 05:37:20 -0700 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; Wed, 07 May 2008 12:36:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AC96F234C107 for ; Wed, 7 May 2008 05:36:55 -0700 (PDT) Message-ID: <2123313647.1210163815705.JavaMail.jira@brutus> Date: Wed, 7 May 2008 05:36:55 -0700 (PDT) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-1574) [PATCH] PropertyWrapper has a typo that causes an infinite loop In-Reply-To: <1487539882.1210122475762.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-1574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting updated JCR-1574: ------------------------------- Fix Version/s: (was: core 1.4.4) AFAIK that method is never executed (PropertyWrapper is internal to the SAX event generator), so the issue is a bit theoretical. Instead of fixing this as proposed, I'd rather get rid of the entire PropertyWrapper class (and the loads of unused code it contains) by refactoring the SAX event generation code. > [PATCH] PropertyWrapper has a typo that causes an infinite loop > --------------------------------------------------------------- > > Key: JCR-1574 > URL: https://issues.apache.org/jira/browse/JCR-1574 > Project: Jackrabbit > Issue Type: Bug > Components: jackrabbit-core > Affects Versions: core 1.4.2 > Reporter: Dave Brosius > Priority: Minor > Attachments: PropertyWrapper_typo_infinite_loop.patch > > > PropertyWrapper.refresh is missing the delegation to 'property' for refresh, and has an infinite loop instead. Patch fixes this. > [CODE] > /** {@inheritDoc} */ > public void refresh(boolean keepChanges) throws InvalidItemStateException, > RepositoryException { > refresh(keepChanges); > } > [/CODE] -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.