-
Bug
-
Resolution: Fixed
-
P3
-
5.0u23, 6u16, 6u17
-
b01
-
generic, x86, sparc
-
generic, solaris_7, windows_2003
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2186291 | 5.0-pool | Dmeetry Degrave | P3 | Closed | Won't Fix |
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.
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.
- backported by
-
JDK-2186291 Unable to READ zip files more than 2GB in size
- Closed
- duplicates
-
JDK-6916399 Negative value returned for ZipEntry.getSize(), due to int overflow.
- Closed
- relates to
-
JDK-6599383 Unable to open zip files more than 2GB in size
- Resolved
-
JDK-4681995 Add support for large (> 4GB) zip/jar files
- Resolved
-
JDK-2191147 Unable to open zip files more than 2GB in size
- Closed