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

Unable to READ zip files more than 2GB in size

XMLWordPrintable

    • b01
    • generic, x86, sparc
    • generic, solaris_7, windows_2003
    • Verified

        Note:
          There have been various Zip CR's reported and fixed in JDK 6 and JDK 7.
          The scope of this CR very specific, hence the need for a new CR. Where
          applicable the related CR's are referenced in the bug report.

        Platforms: All

        JDK: All JDK 6 versions. (JDK 7-b57 is fixed)

        Description:
           We are still unable to actually Read/Extract the opened zip file (unzip2.java).

           CR 6599383 was fix in JDK 6u12 and dealt with the inability to Open a zip file
           larger than 2GB. The testcase (unzip.java) specifically tests for Open.

           CR 4681995 deals with >4GB zip files specifically. Allowing >4GB in JDK 6 is
           outside the scope of this issue.

        Attached Testcases:
           * MakeZipFiles.java - This will create 1.98GB and 2.01GB zip files.
           * unzip2.java - New testcase demonstrating the Read and Extract issue.
           * unzip.java - From the original 6599383 for the Open issue.

        Stepts to Reproduce:

           Create zip files using MakeZipFiles.java. Run unzip2.java. Observe failures.

        Suggested Fix:

           A fix (one line) can be found in the suggested fix section of this report.

              sherman Xueming Shen
              dkorbel David Korbel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: