-
Bug
-
Resolution: Fixed
-
P3
-
20.0.2
-
generic
-
generic
The attached TEST.zip file is accepted by the latest JDK8u382, by the JDK20GA, by the zip, by the Windows Explorer and macOS Archive Utility.
That zip file also passed the integrity test via "zip -T".
But it is rejected by the latest update of JDK 20.0.2, actually by all JDK11+.
See discussion here: https://github.com/openjdk/jdk/pull/15273
Suggestion to use the "-Djdk.util.zip.disableZip64ExtraFieldValidation=true" does not work well here. Using that property will completely disable more important checks.
Validation of the negative values is much more important which was a root cause of the related bug.
That zip file also passed the integrity test via "zip -T".
But it is rejected by the latest update of JDK 20.0.2, actually by all JDK11+.
See discussion here: https://github.com/openjdk/jdk/pull/15273
Suggestion to use the "-Djdk.util.zip.disableZip64ExtraFieldValidation=true" does not work well here. Using that property will completely disable more important checks.
Validation of the negative values is much more important which was a root cause of the related bug.
- relates to
-
JDK-8313765 Invalid CEN header (invalid zip64 extra data field size)
-
- Closed
-