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

Andrew Leonard aleonard 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).

This pull request has now been integrated.

Changeset: 0d933c9b
Author:    Andrew Leonard <aleonard at openjdk.org>
Committer: Andrew John Hughes <andrew at openjdk.org>
URL:       https://git.openjdk.java.net/jdk17u-dev/commit/0d933c9b4f096c55058209ab7eaa8588bdc95ffb
Stats:     53 lines in 8 files changed: 33 ins; 11 del; 9 mod

8275745: Reproducible copyright headers

Backport-of: a0227965bb8d1d49718794d67f8a4cfeebc9bec2

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

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


More information about the jdk-updates-dev mailing list