Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-153

close() in several OutputStream implementations doesn't close the underlying stream if the archive would be corrupt

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 2.0
    • None
    • None

    Description

      In some cases like when ZiparchiveOutputStream's File-arg constructor is used, the user code doesn't even have any chance to close the underlying stream, even if it would catch the exception from close() and then close the wrapped stream by itself.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bodewig Stefan Bodewig
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: