On Fri, 21 Jan 2022 16:13:49 GMT, Jonathan Gibbons <j...@openjdk.org> wrote:

> I was expecting that the common use of reproducible builds was to compare 
> builds created within a reasonably short period of time. I was wanting to set 
> a range that was less than the seemingly arbitrary range of 1980-2099 allowed 
> by the jar tool.

The restriction that the year be in the range 1980-2099 is because of the 
legacy ZIP format and the use of extended DOS time stamps. It would require 
introducing new APIs to support a wider date range. I don't think javadoc needs 
to put any restriction on the range. I don't have any objection to 10 years, I 
was mostly curious why it is needed.

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

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

Reply via email to