[jdk11u-dev] RFR: 8243666: ModuleHashes attribute generated for JMOD and JAR files depends on timestamps [v3]

Christoph Langer clanger at openjdk.java.net
Sat Mar 19 21:25:55 UTC 2022


> Clean backport, only resolved one copyright header diff.
> 
> I'm backporting this because it resolves an issue with jlink when using it with a debian package that was built with debuild. We got a report here in SapMachine: https://github.com/SAP/SapMachine/issues/1009
> 
> debuild seems to modify the jmod files in a way that the hash computation as of JDK11 will yield different results (e.g. timestamps of files differ). The modified hash calculation solves this.

Christoph Langer has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains one commit:

  8243666: ModuleHashes attribute generated for JMOD and JAR files depends on timestamps
  
  Reviewed-by: mchung

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

Changes: https://git.openjdk.java.net/jdk11u-dev/pull/916/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk11u-dev&pr=916&range=02
  Stats: 189 lines in 5 files changed: 129 ins; 21 del; 39 mod
  Patch: https://git.openjdk.java.net/jdk11u-dev/pull/916.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk11u-dev pull/916/head:pull/916

PR: https://git.openjdk.java.net/jdk11u-dev/pull/916


More information about the jdk-updates-dev mailing list