On Thu, 23 Dec 2021 09:39:19 GMT, Andrew Leonard <[email protected]> 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 <[email protected]>

Marked as reviewed by erikj (Reviewer).

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

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

Reply via email to