[jdk11u-dev] Integrated: 8243666: ModuleHashes attribute generated for JMOD and JAR files depends on timestamps
Christoph Langer
clanger at openjdk.java.net
Tue Mar 22 09:24:41 UTC 2022
On Fri, 18 Mar 2022 09:12:01 GMT, Christoph Langer <clanger at openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: 7c29f0e8
Author: Christoph Langer <clanger at openjdk.org>
URL: https://git.openjdk.java.net/jdk11u-dev/commit/7c29f0e88cfd9dbe66b7c8355bfd13b2dfce50bd
Stats: 189 lines in 5 files changed: 129 ins; 21 del; 39 mod
8243666: ModuleHashes attribute generated for JMOD and JAR files depends on timestamps
Backport-of: fe152cdcc5c6ef7e7f3f8c0acf065049e40ee2ea
-------------
PR: https://git.openjdk.java.net/jdk11u-dev/pull/916
More information about the jdk-updates-dev
mailing list