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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 7
    • Affects Version/s: 6
    • Component/s: tools
    • jar
    • b46
    • generic
    • generic
    • Not verified

        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".

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: