New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8243666: ModuleHashes attribute generated for JMOD and JAR files depends on timestamps #916
Conversation
|
This backport pull request has now been updated with issue from the original commit. |
/clean |
@RealCLanger This backport pull request is now marked as clean |
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 |
@RealCLanger This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been no new commits pushed to the
|
…nds on timestamps Reviewed-by: mchung
GHA error unrelated - runtime/Thread/SuspendAtExit.java will be fixed with JDK-8283270. |
/integrate |
Going to push as commit 7c29f0e.
Your commit was automatically rebased without conflicts. |
@RealCLanger Pushed as commit 7c29f0e. |
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: SAP/SapMachine#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.
Progress
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk11u-dev pull/916/head:pull/916
$ git checkout pull/916
Update a local copy of the PR:
$ git checkout pull/916
$ git pull https://git.openjdk.java.net/jdk11u-dev pull/916/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 916
View PR using the GUI difftool:
$ git pr show -t 916
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk11u-dev/pull/916.diff