LocalRepositoryWriterFlat leaks file handles
--------------------------------------------

                 Key: MERCURY-69
                 URL: http://jira.codehaus.org/browse/MERCURY-69
             Project: Mercury
          Issue Type: Bug
          Components: Repository
    Affects Versions: 1.0.0-alpha-2
            Reporter: Benjamin Bentmann
            Assignee: Oleg Gusakov


Although my working copy includes the patch for MERCURY-68, I still 
occasionally observe files named "test-flat*-repo" in the temp dir. The 
{{LocalRepositoryFlatTest}} already employs {{deleteOnExit()}} so it seems 
there are some open handles preventing the deletion. And indeed, in 
{{LocalRepositoryWriterFlat.writeArtifact()}} a {{FileInputStream}} is created 
but there is apparently no corresponding call to {{close()}} on the stream.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to