[ 
https://issues.apache.org/jira/browse/JCRVLT-851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18119805#comment-18119805
 ] 

Konrad Windszus commented on JCRVLT-851:
----------------------------------------

[~joerghoh] I found the glitch in the CloseWatcher registration. I think 
[https://github.com/apache/jackrabbit-filevault/pull/434/changes#diff-ee85fa99072414e7d54de5d21f81dd7ffcc058e6c33ac199840e74c78fcc6a57]
 would be the cleaner approach: 
https://github.com/apache/jackrabbit-filevault/pull/434

> Unclosed package can leave tempfiles behind
> -------------------------------------------
>
>                 Key: JCRVLT-851
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-851
>             Project: Jackrabbit FileVault
>          Issue Type: Task
>    Affects Versions: 4.1.4
>            Reporter: Joerg Hoh
>            Assignee: Joerg Hoh
>            Priority: Major
>             Fix For: 4.2.2
>
>
> JcrPackageImpl.getPackage() creates a tempfile (which is then wrapped inside 
> a ZipVaultPackage); if that package is not properly closed, it can leave 
> tempfiles behind.
> We should ensure that any unclosed tempfile is properly removed at latest 
> when the JVM terminates.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to