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

Liam Miller-Cushon cushon at openjdk.org
Fri Jul 19 15:36:10 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:

  Use /* instead of /** comments

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18479/files
  - new: https://git.openjdk.org/jdk/pull/18479/files/172609a3..18661092

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

  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