aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Matthews (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ARIES-1302) Temporary Zip File created does not get deleted
Date Wed, 25 Feb 2015 16:19:04 GMT

     [ https://issues.apache.org/jira/browse/ARIES-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dan Matthews updated ARIES-1302:
--------------------------------
    Priority: Minor  (was: Major)

> Temporary Zip File created does not get deleted
> -----------------------------------------------
>
>                 Key: ARIES-1302
>                 URL: https://issues.apache.org/jira/browse/ARIES-1302
>             Project: Aries
>          Issue Type: Bug
>          Components: Util
>    Affects Versions: util-1.1.0
>            Reporter: Dan Matthews
>            Priority: Minor
>
> InputStreamClosableDirectory has code in its cleanup() method to delete the temporary
file, called when close() method called (inherited from parent class CloseableDirectory).
However, "clients" of this class store/treat the reference as an IDirectory (which is not
Closeable), even though FileSystem.getFSRoot() return an ICloseableDirectory, and call close()
on return of toCloseable() - in this case the cleanup() method is not called since close is
called on the new wrapper for the InputStreamClosableDirectory's delegate , this results in
the .zip file in the tmp directory not being deleted.
> By "clients" I am referring to code inside apache aries.
> This happens, for example, when an eba is started



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message