jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-2240) Binary value may leave temp file behind
Date Thu, 06 Aug 2009 09:52:17 GMT

    [ https://issues.apache.org/jira/browse/JCR-2240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12739970#action_12739970
] 

Marcel Reutegger commented on JCR-2240:
---------------------------------------

> does it depend on a specific ValueFactory implementation? 

don't know. I don't think it's possible to configure a different implementation, right?

> where is the tmp file created? in the system tmp dir?

yes, it's the system temp dir.

I guess 'never deleted' is not correct. The files are actually deleted, but only at the discretion
of the garbage collection and the finalizer.

> 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
>
> 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.


Mime
View raw message