On Thu, 23 Dec 2021 09:39:19 GMT, Andrew Leonard <aleon...@openjdk.org> wrote:
> MakeZipReproducible was added to enable reproducible building of src.zip. > However, as ZipEntry timestamps are a "localized" date with no zone, the > specified epoch instant was getting localized in whatever the building > timezone was, hence src.zip built from the same source in different zones > would differ. > The timestamp should be localized to UTC (like for jar, jmod entries), this > PR ensures this. > > Signed-off-by: Andrew Leonard <anleo...@redhat.com> This pull request has now been integrated. Changeset: bc0466c7 Author: Andrew Leonard <aleon...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/bc0466c7ca57f14b1e6285e2a39755d57c8de376 Stats: 11 lines in 1 file changed: 6 ins; 0 del; 5 mod 8279182: MakeZipReproducible ZipEntry timestamps not localized to UTC Reviewed-by: erikj ------------- PR: https://git.openjdk.java.net/jdk/pull/6926