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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 6u7
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: