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

Andrew Leonard aleonard at openjdk.java.net
Fri Nov 12 14:48:44 UTC 2021


On Tue, 9 Nov 2021 12:59:17 GMT, Andrew Leonard <aleonard at openjdk.org> wrote:

> This PR adds a new openjdk build tool MakeZipReproducible, which if ENABLE_REPRODUCIBLE_BUILD is enabled, generates a final "zip" file 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>

This pull request has now been integrated.

Changeset: aeba6530
Author:    Andrew Leonard <aleonard at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/aeba65303479130d9bab74484accad5d7d116a40
Stats:     261 lines in 4 files changed: 254 ins; 0 del; 7 mod

8276743: Make openjdk build Zip Archive generation "reproducible"

Reviewed-by: erikj, ihse

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

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



More information about the build-dev mailing list