RFR: 8276766: Enable jar and jmod to produce deterministic timestamped content [v9]
Andrew Leonard
aleonard at openjdk.java.net
Tue Nov 30 20:03:10 UTC 2021
On Tue, 30 Nov 2021 19:31:37 GMT, John Neffenger <jgneff at openjdk.org> wrote:
> > Both basically truncate the timezone.
>
> There's a difference. The first option saves a DOS date and time that depends on the time zone of the build machine due to the ISO 8601 string returned by default from the `git` and `date` commands, which is what everyone will be using. Those commands return the local time zone offset by default, which is what breaks your current implementation.
@jgneff I think you've lost me on this one so example may help me please..
Whichever we use, we have to use e.setTimeLocal(), so can't see what the difference is?
-------------
PR: https://git.openjdk.java.net/jdk/pull/6481
More information about the compiler-dev
mailing list