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

openjdk-notifier[bot] duke at openjdk.java.net
Sat Mar 19 21:11:55 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.

The dependent pull request has now been integrated, and the target branch of this pull request has been updated. This means that changes from the dependent pull request can start to show up as belonging to this pull request, which may be confusing for reviewers. To remedy this situation, simply merge the latest changes from the new target branch into this pull request by running commands similar to these in the local repository for your personal fork:


git checkout backport-8240734
git fetch https://git.openjdk.java.net/jdk11u-dev master
git merge FETCH_HEAD
# if there are conflicts, follow the instructions given by git merge
git commit -m "Merge master"
git push

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

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


More information about the jdk-updates-dev mailing list