commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (VFS-291) An zip archive is not properly closed after unzipping. And thous cannot be delted until the JVM dies
Date Wed, 10 Jul 2013 04:29:49 GMT

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

Gary Gregory updated VFS-291:
-----------------------------

    Attachment: vfs-291.diff

Here is a trunk patch that passes all current tests. I'd like a code review as I am not sure
if this is a hack or a proper solution.
                
> An zip archive is not properly closed after unzipping. And thous cannot be delted until
the JVM dies
> ----------------------------------------------------------------------------------------------------
>
>                 Key: VFS-291
>                 URL: https://issues.apache.org/jira/browse/VFS-291
>             Project: Commons VFS
>          Issue Type: Bug
>         Environment: Windows
>            Reporter: Roman
>            Priority: Critical
>         Attachments: vfs-291.diff, ZipCloseBug.zip, ZipFileObject.java
>
>
> Open a zip file with the ZipFileObject
> get an inputstream on its content
> try to delete it... 
> it fails.
> I have attached a possible solution to this bug.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message