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

ZipFile.open error message fails to include path to (potentially corrupt) ZIP file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 6u7
    • core-libs

      If you try to open a ZIP file which is corrupt, the resulting ZipException makes no mention of which ZIP file was being opened (much less what the problem with the file was). This can make it difficult to diagnose a bare stack trace. By comparison, other file-related IOException's thrown from JRE code are typically given a message noting at least the path name.

            Unassigned Unassigned
            jglick Jesse Glick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: