RFR: 8276743: Make openjdk build Zip Archive generation "reproducible" [v2]

Andrew Leonard aleonard at openjdk.java.net
Thu Nov 11 15:22:11 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>

Andrew Leonard has updated the pull request incrementally with one additional commit since the last revision:

  8276743: Make openjdk build Zip Archive generation "reproducible"
  
  Signed-off-by: Andrew Leonard <anleonar at redhat.com>

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/6311/files
  - new: https://git.openjdk.java.net/jdk/pull/6311/files/dcf48d65..f8a816af

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6311&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6311&range=00-01

  Stats: 544 lines in 5 files changed: 241 ins; 287 del; 16 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