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

Magnus Ihse Bursie ihse at openjdk.java.net
Fri Nov 12 14:29:35 UTC 2021


On Fri, 12 Nov 2021 08:24:13 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>
>
> 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>

make/Main.gmk line 511:

> 509:     MAKEFILE := Docs, \
> 510:     TARGET := docs-zip, \
> 511:     DEPS :=  docs-jdk buildtools-jdk, \

Is this really needed? I did not think jrtfs-jar used zip?

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

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



More information about the build-dev mailing list