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.
JDK: All JDK 6 versions. (JDK 7-b57 is fixed)
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.
* 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.
A fix (one line) can be found in the suggested fix section of this report.