RFR: 8328995: launcher can't open jar files where the offset of the manifest is >4GB [v4]

Liam Miller-Cushon cushon at openjdk.org
Fri Mar 29 17:38:47 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'.

Liam Miller-Cushon has updated the pull request incrementally with one additional commit since the last revision:

  Maximum Zip64 extra field length is 32

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/18479/files
  - new: https://git.openjdk.org/jdk/pull/18479/files/7b599c9c..d475de76

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18479&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18479&range=02-03

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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