RFR: 8276766: Enable jar and jmod to produce deterministic timestamped content [v15]

Andrew Leonard aleonard at openjdk.java.net
Thu Dec 2 12:00:43 UTC 2021


> 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 with a new target base due to a merge or a rebase. The pull request now contains 23 commits:

 - 8276766: Enable jar and jmod to produce deterministic timestamped content
   
   Signed-off-by: Andrew Leonard <anleonar at redhat.com>
 - Merge branch 'jarjmodtimestamps' of github.com:andrew-m-leonard/jdk into jarjmodtimestamps
 - Update src/jdk.jlink/share/classes/jdk/tools/jmod/JmodOutputStream.java
   
   Co-authored-by: Magnus Ihse Bursie <mag at icus.se>
 - Merge branch 'master' of https://github.com/openjdk/jdk into jarjmodtimestamps
 - 8276766: Enable jar and jmod to produce deterministic timestamped content
   
   Signed-off-by: Andrew Leonard <anleonar at redhat.com>
 - 8276766: Enable jar and jmod to produce deterministic timestamped content
   
   Signed-off-by: Andrew Leonard <anleonar at redhat.com>
 - 8276766: Enable jar and jmod to produce deterministic timestamped content
   
   Signed-off-by: Andrew Leonard <anleonar at redhat.com>
 - 8276766: Enable jar and jmod to produce deterministic timestamped content
   
   Signed-off-by: Andrew Leonard <anleonar at redhat.com>
 - 8276766: Enable jar and jmod to produce deterministic timestamped content
   
   Signed-off-by: Andrew Leonard <anleonar at redhat.com>
 - 8276766: Enable jar and jmod to produce deterministic timestamped content
   
   Signed-off-by: Andrew Leonard <anleonar at redhat.com>
 - ... and 13 more: https://git.openjdk.java.net/jdk/compare/e002bfec...8e60bb77

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

Changes: https://git.openjdk.java.net/jdk/pull/6481/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6481&range=14
  Stats: 330 lines in 8 files changed: 306 ins; 0 del; 24 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6481.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6481/head:pull/6481

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


More information about the compiler-dev mailing list