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> Marked as reviewed by erikj (Reviewer). ------------- PR: https://git.openjdk.java.net/jdk/pull/6926