RFR: 8328995: launcher can't open jar files where the offset of the manifest is >4GB
Liam Miller-Cushon
cushon at openjdk.org
Tue Mar 26 16:57:39 UTC 2024
This change fixes a zip64 bug in the launcher that is prevent it from reading the manifest of jars where the 'relative offset of local header' field in the central directory entry is >4GB. As described in APPNOTE.TXT 4.5.3, the offset is too large to be stored in the central directory it is stored in a 'Zip64 Extended Information Extra Field'.
-------------
Commit messages:
- Improvements
- 8328995: launcher can't open jar files where the offset of the manifest is >4GB
Changes: https://git.openjdk.org/jdk/pull/18479/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18479&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8328995
Stats: 223 lines in 3 files changed: 215 ins; 3 del; 5 mod
Patch: https://git.openjdk.org/jdk/pull/18479.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/18479/head:pull/18479
PR: https://git.openjdk.org/jdk/pull/18479
More information about the core-libs-dev
mailing list