On Tue, 21 Dec 2021 06:26:52 GMT, Jonathan Gibbons <j...@openjdk.org> wrote:

>> Please review a relatively simple patch to support the standard 
>> SOURCE_DATE_EPOCH environment variable, used by those who are interested in 
>> reproducible builds. (See https://reproducible-builds.org)
>
> Jonathan Gibbons has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   ignore invalid settings

I think this issue will require wider discussion because all previous 
investigation into this topic have concluded with the JDK not reading the env 
variable directly, instead providing an way to configure the timestamp. For the 
jar and jmod tools the option --date is used to specify a fixed timestamp for 
entries when reproducible builds are required. The Properties.store API 
specifies to read the system property java.properties.date so that 
date/timestamp in the comment uses a fixed date.

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

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

Reply via email to