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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 6
    • 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".

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: