> 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 incrementally with two additional commits since the last revision: - Make gensrc code use $COPYRIGHT_YEAR - Set COPYRIGHT_YEAR from SOURCE_DATE_EPOCH if present ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/1498/files - new: https://git.openjdk.java.net/jdk/pull/1498/files/99161710..9c4efbda Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1498&range=01 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1498&range=00-01 Stats: 59 lines in 8 files changed: 28 ins; 22 del; 9 mod Patch: https://git.openjdk.java.net/jdk/pull/1498.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/1498/head:pull/1498 PR: https://git.openjdk.java.net/jdk/pull/1498