[jdk17u-dev] RFR: 8275745: Reproducible copyright headers

Andrew John Hughes andrew at openjdk.java.net
Wed Mar 9 16:43:17 UTC 2022


On Tue, 8 Mar 2022 11:37:14 GMT, Andrew Leonard <aleonard at openjdk.org> wrote:

> The copyright headers are generated at build time, and the year inserted in the template depends on the current date. This means the headers are not reproducible if the project is built a year later. This PR uses the year derived from the SOURCE_DATE_EPOCH environment variable to make the build reproducible (this variable is already used in other parts of the build).

Looks good. Thanks.

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

PR: https://git.openjdk.java.net/jdk17u-dev/pull/206


More information about the jdk-updates-dev mailing list