On Mon, 6 Dec 2021 13:57:48 GMT, Andrew Leonard <aleon...@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 <anleo...@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 <anleo...@redhat.com>

src/jdk.jartool/share/classes/sun/tools/jar/resources/jar.properties line 300:

> 298: \      --date=TIMESTAMP       The timestamp in ISO-8601 extended offset 
> date-time with\n\
> 299: \                             optional time-zone format, to use for the 
> timestamps of\n\
> 300: \                             entries, eg. "2022-02-12T12:30:00-05:00"

The updated wording looks much better. Just a minor nit, it should be "e.g." 
rather than "eg.".

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

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

Reply via email to