maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Bentmann (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MERCURY-69) LocalRepositoryWriterFlat leaks file handles
Date Sat, 27 Dec 2008 10:30:19 GMT
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

        

Mime
View raw message