You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Roman (JIRA)" <ji...@apache.org> on 2009/12/13 19:59:18 UTC

[jira] Created: (VFS-291) An zip archive is not properly closed after unzipping.

An zip archive is not properly closed after unzipping.
------------------------------------------------------

                 Key: VFS-291
                 URL: https://issues.apache.org/jira/browse/VFS-291
             Project: Commons VFS
          Issue Type: Bug
            Reporter: Roman




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (VFS-291) An zip archive is not properly closed after unzipping. And thous cannot be delted until the JVM dies

Posted by "Roman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VFS-291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman updated VFS-291:
----------------------

    Description: 
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.
    Environment: Windows
        Summary: An zip archive is not properly closed after unzipping. And thous cannot be delted until the JVM dies  (was: An zip archive is not properly closed after unzipping.)

> 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
>         Attachments: 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.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (VFS-291) An zip archive is not properly closed after unzipping. And thous cannot be delted until the JVM dies

Posted by "Roman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VFS-291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman updated VFS-291:
----------------------

    Priority: Critical  (was: Major)

> 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: 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 contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (VFS-291) An zip archive is not properly closed after unzipping.

Posted by "Roman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VFS-291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman updated VFS-291:
----------------------

    Attachment: ZipFileObject.java

I have added a possible solution for this Bug.

Please take a look at the attached file and merge it with head revision.

> An zip archive is not properly closed after unzipping.
> ------------------------------------------------------
>
>                 Key: VFS-291
>                 URL: https://issues.apache.org/jira/browse/VFS-291
>             Project: Commons VFS
>          Issue Type: Bug
>            Reporter: Roman
>         Attachments: ZipFileObject.java
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (VFS-291) An zip archive is not properly closed after unzipping. And thous cannot be delted until the JVM dies

Posted by "Ralph Goers (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VFS-291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927556#action_12927556 ] 

Ralph Goers commented on VFS-291:
---------------------------------

I tried applying this change but it breaks the unit test.

> 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: 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.
-
You can reply to this email to add a comment to the issue online.