-
Notifications
You must be signed in to change notification settings - Fork 232
8339280: jarsigner -verify performs cross-checking between CEN and LOC #3954
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
8339280: jarsigner -verify performs cross-checking between CEN and LOC #3954
Conversation
👋 Welcome back fferrari! A progress list of the required criteria for merging this PR into |
@franferrax This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. 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 60 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@alexeybakhtin) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
This backport pull request has now been updated with issue from the original commit. |
/issue add 8353299 |
/issue add 8367782 |
@franferrax |
@franferrax |
Webrevs
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the backport
LGTM
|
/approval request JDK-8339280 enhances the jarsigner utility with cross-validation of JAR entries. Subsequent test updates (JDK-8353299 & JDK-8367782) are included for better reliability and coverage. Please find details about the testing in the pull request description. |
@franferrax |
Hi @franferrax, This would make the comment of this change very simple: Also, please don't do backports to older releases if those to younger ones need reviews. (It's ok if they are clean.) |
/integrate |
@franferrax |
/sponsor |
Going to push as commit 82f1ed6.
Your commit was automatically rebased without conflicts. |
@alexeybakhtin @franferrax Pushed as commit 82f1ed6. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Hi, this is a backport of openjdk/jdk21u-dev#2235. The backport is almost clean, except for:
Main.java
imports17u doesn't haveResources_de.java
(changes were discarded)jarsigner.1
manpage has a slightly different format (manually adjusted to match the 17u format)Related issues ("relates to" Jira issue links)
JDK-8353299 (openjdk/jdk@acd4da4) and JDK-8367782 (openjdk/jdk@1b9a116) were also included as part of this backport. They are test-only changes that improve the reliability and coverage of
VerifyJarEntryName.java
.Since
test/hotspot/jtreg/runtime/cds/appcds/SignedJar.java
is not failing after the backport, JDK-8353330 was not included.Testing
tier1
run from the GitHub actions (all passed), I ran a regression using the following categories and individual tests:test/hotspot/jtreg/runtime/cds/appcds/SignedJar.java
test/jdk/java/security/SignedJar
test/jdk/java/util/jar
test/jdk/jdk/security/jarsigner
test/jdk/sun/security/pkcs/pkcs7
test/jdk/sun/security/tools/jarsigner
VerifyJarEntryName.java
, created for this issuetest/jdk/sun/security/tools/keytool
No regressions were found against the current
master
branch (ec6528e).Progress
Warning
8339280: jarsigner -verify performs cross-checking between CEN and LOC
Issues
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk17u-dev.git pull/3954/head:pull/3954
$ git checkout pull/3954
Update a local copy of the PR:
$ git checkout pull/3954
$ git pull https://git.openjdk.org/jdk17u-dev.git pull/3954/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 3954
View PR using the GUI difftool:
$ git pr show -t 3954
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk17u-dev/pull/3954.diff
Using Webrev
Link to Webrev Comment