ZipFile should provide better diagnostics when opening a corrupt ZIP file

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 5.0
    • Component/s: core-libs

      Often, zip files are corrupted, often by having trailing garbage written
      at the end. Sun's zip implementation will properly throw an error
      when asked to open such a file, but the diagnostic
      Cannot open Zip file
      could be improved to something like
      Corrupted Zip file: cannot find End header
      or
      Corrupted zip file: trailing garbage at end of file.

      ###@###.### 2004-02-04

            Assignee:
            Dave Bristor (Inactive)
            Reporter:
            Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: