Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4988969

ZipFile should provide better diagnostics when opening a corrupt ZIP file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 5.0
    • 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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: