On Wed, 1 Dec 2021 11:06:12 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 two additional > commits since the last revision: > > - 8276766: Enable jar and jmod to produce deterministic timestamped content > > Signed-off-by: Andrew Leonard <anleo...@redhat.com> > - 8276766: Enable jar and jmod to produce deterministic timestamped content > > Signed-off-by: Andrew Leonard <anleo...@redhat.com> src/jdk.jlink/share/classes/jdk/tools/jmod/JmodOutputStream.java line 65: > 63: > 64: private final ZipOutputStream zos; > 65: private final LocalDateTime date; Suggestion: private final LocalDateTime date; No need for extra spaces. ------------- PR: https://git.openjdk.java.net/jdk/pull/6481