[jdk11u-dev] RFR: 8243666: ModuleHashes attribute generated for JMOD and JAR files depends on timestamps [v2]
Christoph Langer
clanger at openjdk.java.net
Sat Mar 19 21:11:54 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 incremental webrev excludes the unrelated changes brought in by the merge/rebase.
-------------
Changes:
- all: https://git.openjdk.java.net/jdk11u-dev/pull/916/files
- new: https://git.openjdk.java.net/jdk11u-dev/pull/916/files/41262ce2..41262ce2
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk11u-dev&pr=916&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk11u-dev&pr=916&range=00-01
Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 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