[jdk11u-dev] RFR: 8243666: ModuleHashes attribute generated for JMOD and JAR files depends on timestamps [v3]
Christoph Langer
clanger at openjdk.java.net
Sun Mar 20 06:30:31 UTC 2022
On Sat, 19 Mar 2022 21:25:55 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.
>
> 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. The pull request contains one additional commit since the last revision:
>
> 8243666: ModuleHashes attribute generated for JMOD and JAR files depends on timestamps
>
> Reviewed-by: mchung
GHA error unrelated - runtime/Thread/SuspendAtExit.java will be fixed with JDK-8283270.
-------------
PR: https://git.openjdk.java.net/jdk11u-dev/pull/916
More information about the jdk-updates-dev
mailing list