Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 49229 invoked from network); 6 Aug 2009 13:06:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Aug 2009 13:06:29 -0000 Received: (qmail 83317 invoked by uid 500); 6 Aug 2009 12:56:37 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 83295 invoked by uid 500); 6 Aug 2009 12:56:37 -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 83287 invoked by uid 99); 6 Aug 2009 12:56:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2009 12:56:36 +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, 06 Aug 2009 12:56:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C66A9234C044 for ; Thu, 6 Aug 2009 05:56:14 -0700 (PDT) Message-ID: <1823291224.1249563374796.JavaMail.jira@brutus> Date: Thu, 6 Aug 2009 05:56:14 -0700 (PDT) From: "Marcel Reutegger (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-2240) Binary value may leave temp file behind In-Reply-To: <1004810436.1249301834824.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/JCR-2240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger updated JCR-2240: ---------------------------------- Priority: Minor (was: Major) > in which case i wouldn't qualify this issue as 'major bug' but rather as an improvement. agreed on the priority, but I still think this is a bug, because dispose is explicitly and I would expect that it frees resources that the Binary instance holds. Anyway, the required changes to fix this bug are already present in the patch for JCR-2238. I suggest we keep this issue open until JCR-2238 is fixed and then set it to fixed as well. > Binary value may leave temp file behind > --------------------------------------- > > Key: JCR-2240 > URL: https://issues.apache.org/jira/browse/JCR-2240 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: jackrabbit-core > Reporter: Marcel Reutegger > Priority: Minor > > The following call leaves a temp file behind that is never deleted: > InputStream in = ... > ValueFactory vf = .... > vf.createBinary(in).dispose(); > Only happens when the datastore is disabled. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.