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

"jar t" and "jar x" should use ZipFile, not ZipInputStream

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 6
    • Fix Version/s: 7
    • Component/s: tools
    • Labels:
    • Subcomponent:
      jar
    • Resolved In Build:
      b46
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Backports

        Description

        jar t using ZipInputStream might be orders of magnitude more expensive
        than using ZipFile, because ZipInputStream might have to uncompress each entry.

        No longer mmaping the entire zip file makes using ZipFile more reliable.

        ZipFile used to have scalability issues if the entire zip file didn't fit into
        the address space.
        Same applies to "jar x".

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                sherman Xueming Shen
                Reporter:
                martin Martin Buchholz
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: