[jdk17u-dev] RFR: 8275745: Reproducible copyright headers
Andrew Leonard
aleonard at openjdk.java.net
Tue Mar 8 11:45:40 UTC 2022
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).
-------------
Commit messages:
- Backport a0227965bb8d1d49718794d67f8a4cfeebc9bec2
Changes: https://git.openjdk.java.net/jdk17u-dev/pull/206/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk17u-dev&pr=206&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8275745
Stats: 53 lines in 8 files changed: 33 ins; 11 del; 9 mod
Patch: https://git.openjdk.java.net/jdk17u-dev/pull/206.diff
Fetch: git fetch https://git.openjdk.java.net/jdk17u-dev pull/206/head:pull/206
PR: https://git.openjdk.java.net/jdk17u-dev/pull/206
More information about the jdk-updates-dev
mailing list