-
Bug
-
Resolution: Fixed
-
P2
-
11.0.20, 11.0.20-oracle, 17.0.8, 17.0.8-oracle, 21
-
- 11bpr-critical-approved
- 17bpr-critical-approved
- CPU23_10-critical-SQE-OK
- CPU23_10-critical-approved
- amazon-interest
- bugdb_35653027
- jdk11u-critical-request
- jdk11u-critical-yes
- jdk11u-fix-request
- jdk11u-fix-yes
- jdk17u-critical-request
- jdk17u-critical-yes
- jdk17u-fix-request
- jdk17u-fix-yes
- jdk21u-fix-SQE-ok
- jdk21u-fix-request
- jdk21u-fix-yes
- regression
- release-note=yes
-
b11
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8319286 | 21.0.2 | Ravi Reddy | P2 | Resolved | Fixed | b05 |
JDK-8314674 | 21.0.1 | Ben Taylor | P2 | Closed | Fixed | b08 |
JDK-8314557 | 17.0.10-oracle | Ravi Reddy | P2 | Resolved | Fixed | b01 |
JDK-8314760 | 17.0.9-oracle | Ravi Reddy | P2 | Closed | Fixed | b07 |
JDK-8314587 | 17.0.9 | Ben Taylor | P2 | Resolved | Fixed | b04 |
JDK-8315972 | 17.0.8.0.2-oracle | Ravi Reddy | P2 | Closed | Fixed | b01 |
JDK-8314853 | 17.0.8.1 | Ben Taylor | P2 | Resolved | Fixed | b01 |
JDK-8314558 | 11.0.22-oracle | Ravi Reddy | P2 | Resolved | Fixed | b01 |
JDK-8314761 | 11.0.21-oracle | Ravi Reddy | P2 | Closed | Fixed | b06 |
JDK-8314664 | 11.0.21 | Ben Taylor | P2 | Resolved | Fixed | b04 |
JDK-8315089 | 11.0.20.0.3-oracle | Ravi Reddy | P2 | Closed | Fixed | b01 |
JDK-8314851 | 11.0.20.1 | Ben Taylor | P2 | Resolved | Fixed | b01 |
Invalid CEN header (invalid zip64 extra data field size)
The ZipException may occur due to:
1. Some releases of Ant and commons-compress create CEN Zip64 extra headers with a size of 0 when Zip64 mode is required
- fixed in Commons-compress 1.11 (2016) and Ant 1.10.14 (2023).
2. Extra field includes padding not included in the Extra data field headers
3. The BND tool added problematic data to the extra field
- fixed in BND 5.3 (2021) and maven-bundle-plugin 5.1.5 which includes BND 5.3
The issue can demonstrated via the following ant script :
?xml version="1.0"?>
<project name="zip 64 jar test" basedir="." default="jar">
<property name="jarFile" value="test.jar"/>
<property name="builddir" value="classes"/>
<target name="jar">
<jar destfile="${jarFile}"
zip64mode="always"
basedir="${builddir}"/>
</target>
</project>
- backported by
-
JDK-8314557 Invalid CEN header (invalid zip64 extra data field size)
- Resolved
-
JDK-8314558 Invalid CEN header (invalid zip64 extra data field size)
- Resolved
-
JDK-8314587 Invalid CEN header (invalid zip64 extra data field size)
- Resolved
-
JDK-8314664 Invalid CEN header (invalid zip64 extra data field size)
- Resolved
-
JDK-8314851 Invalid CEN header (invalid zip64 extra data field size)
- Resolved
-
JDK-8314853 Invalid CEN header (invalid zip64 extra data field size)
- Resolved
-
JDK-8319286 Invalid CEN header (invalid zip64 extra data field size)
- Resolved
-
JDK-8314674 Invalid CEN header (invalid zip64 extra data field size)
- Closed
-
JDK-8314760 Invalid CEN header (invalid zip64 extra data field size)
- Closed
-
JDK-8314761 Invalid CEN header (invalid zip64 extra data field size)
- Closed
-
JDK-8315089 Invalid CEN header (invalid zip64 extra data field size)
- Closed
-
JDK-8315972 Invalid CEN header (invalid zip64 extra data field size)
- Closed
- duplicates
-
JDK-8315215 Adding a manifest to an apk file corrupts the CEN header
- Closed
- relates to
-
JDK-8314450 ZipFile rejects ZIP file that some zip tools can parse without errors
- Closed
-
JDK-8315215 Adding a manifest to an apk file corrupts the CEN header
- Closed
- links to
-
Commit openjdk/jdk11u-dev/399633c2
-
Commit openjdk/jdk11u/fffaff3d
-
Commit openjdk/jdk17u-dev/41cadb7a
-
Commit openjdk/jdk17u/0f29caa3
-
Commit openjdk/jdk21u/9d1d5e78
-
Commit openjdk/jdk/13f6450e
-
Review openjdk/jdk11u-dev/2084
-
Review openjdk/jdk11u/77
-
Review openjdk/jdk17u-dev/1670
-
Review openjdk/jdk17u/376
-
Review openjdk/jdk20u/87
-
Review openjdk/jdk21/173
-
Review openjdk/jdk21u/72
-
Review openjdk/jdk/15273