RFR: 8276766: Enable jar and jmod to produce deterministic timestamped content [v20]
Alan Bateman
alanb at openjdk.java.net
Tue Dec 7 09:28:14 UTC 2021
On Mon, 6 Dec 2021 19:11:45 GMT, Andrew Leonard <aleonard at openjdk.org> wrote:
>> Add a new --source-date <TIMESTAMP> (epoch seconds) option to jar and jmod to allow specification of time to use for created/updated jar/jmod entries. This then allows the ability to make the content deterministic.
>>
>> Signed-off-by: Andrew Leonard <anleonar at redhat.com>
>
> Andrew Leonard has updated the pull request incrementally with one additional commit since the last revision:
>
> 8276766: Enable jar and jmod to produce deterministic timestamped content
>
> Signed-off-by: Andrew Leonard <anleonar at redhat.com>
I've edited the CSR to make the summary a bit simpler. I've also removed some of text from the Solution section as the discussion about SOURCE_DATE_EPOCH being an issue due to the security manager was confusing. I also removed the sentence about tools not supporting -Dname=value as it's not quite right as it can be done with -J-Dname=value. Please read over to make sure you are okay with the edits.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6481
More information about the compiler-dev
mailing list