Dan Matthews created ARIES-1302:
-----------------------------------
Summary: 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
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)