RFR: 8275745: Reproducible copyright headers [v3]

Erik Joelsson erikj at openjdk.java.net
Fri Nov 12 14:25:42 UTC 2021


On Thu, 11 Nov 2021 15:37:09 GMT, Emmanuel Bourg <duke at openjdk.java.net> 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. The year in the headers could be derived from the SOURCE_DATE_EPOCH environment variable to make the build reproducible (this variable is already used in other parts of the build).
>
> Emmanuel Bourg has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains two commits:
> 
>  - Make gensrc code use $COPYRIGHT_YEAR
>  - Set COPYRIGHT_YEAR from SOURCE_DATE_EPOCH if present

Marked as reviewed by erikj (Reviewer).

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

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



More information about the build-dev mailing list