commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Eckenfels (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (VFS-291) An zip archive is not properly closed after unzipping. And thous cannot be delted until the JVM dies
Date Thu, 26 Nov 2015 17:20:10 GMT

    [ https://issues.apache.org/jira/browse/VFS-291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15029123#comment-15029123
] 

Bernd Eckenfels edited comment on VFS-291 at 11/26/15 5:20 PM:
---------------------------------------------------------------

Adding

> getManager().closeFileSystem(fileOne.getFileSystem());

to the test makes it pass on Windows. (in current 2.1-SNAPSHOT trunk).


was (Author: b.eckenfels):
Adding

    getManager().closeFileSystem(fileOne.getFileSystem());

to the test makes it pass on Windows. (in current 2.1-SNAPSHOT trunk).

> 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
>              Labels: patch
>         Attachments: AbstractFileObject.java.2.patch, AbstractFileObject.java.patch,
FileLockUnitTest.diff, ZipCloseBug.zip, ZipFileObject.java, ZipFileObject.java.patch, vfs-291.diff
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message