You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2008/12/27 11:30:19 UTC

[jira] Created: (MERCURY-69) LocalRepositoryWriterFlat leaks file handles

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

        

[jira] Updated: (MERCURY-69) LocalRepositoryWriterFlat leaks file handles

Posted by "Oleg Gusakov (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MERCURY-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Gusakov updated MERCURY-69:
--------------------------------

    Fix Version/s: 1.0-alpha-6

> 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
>             Fix For: 1.0-alpha-6
>
>
> 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

        

[jira] Updated: (MERCURY-69) LocalRepositoryWriterFlat leaks file handles

Posted by "Oleg Gusakov (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MERCURY-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Gusakov updated MERCURY-69:
--------------------------------

    Fix Version/s:     (was: 1.0-alpha-7)
                   1.0-alpha-8

> 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
>             Fix For: 1.0-alpha-8
>
>
> 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

        

[jira] Updated: (MERCURY-69) LocalRepositoryWriterFlat leaks file handles

Posted by "Oleg Gusakov (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MERCURY-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Gusakov updated MERCURY-69:
--------------------------------

    Fix Version/s:     (was: 1.0-alpha-6)
                   1.0-alpha-7

> 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
>             Fix For: 1.0-alpha-7
>
>
> 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