RFR: 8276743: Make openjdk build Zip Archive generation "reproducible"

Andrew Leonard aleonard at openjdk.java.net
Tue Nov 9 13:10:55 UTC 2021


This PR adds a new openjdk build tool GenerateZip, which generates a final "zip" file from an input folder, and creates it in a deterministic way, ensuring ordering and timestamps are set as specified.

Using this tool in ZipArchive.gmk will ensure src.zip is then created deterministically.

Signed-off-by: Andrew Leonard <anleonar at redhat.com>

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

Commit messages:
 - 8276743: Make openjdk build Zip Archive generation "reproducible"

Changes: https://git.openjdk.java.net/jdk/pull/6311/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6311&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8276743
  Stats: 303 lines in 3 files changed: 300 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6311.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6311/head:pull/6311

PR: https://git.openjdk.java.net/jdk/pull/6311



More information about the build-dev mailing list