Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-291

ZIP archives are not properly closed after unzipping and cannot be deleted until the JVM exists

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.2
    • Windows

    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.

      Attachments

        1. AbstractFileObject.java.2.patch
          0.9 kB
          David Mollitor
        2. AbstractFileObject.java.patch
          0.7 kB
          David Mollitor
        3. FileLockUnitTest.diff
          3 kB
          Anton Jackson-Smith
        4. vfs-291.diff
          0.7 kB
          Gary D. Gregory
        5. ZipCloseBug.zip
          988 kB
          David Mollitor
        6. ZipFileObject.java
          5 kB
          Roman
        7. ZipFileObject.java.patch
          0.7 kB
          David Mollitor

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            pfeffer Roman
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment