-
Notifications
You must be signed in to change notification settings - Fork 236
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
8309841: Jarsigner should print a warning if an entry is removed #3007
base: master
Are you sure you want to change the base?
Conversation
👋 Welcome back rmarchenko! A progress list of the required criteria for merging this PR into |
@wkia 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 5 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the 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, @gnu-andrew) 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. |
Webrevs
|
The test |
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 I'd like to backport this to 11u-dev. We need this fix in jdk11 and below, down to jdk8, as all versions have this issue with jarsigner. Original patch does not apply cleanly to jdk11, some minor conflicts resolved, tests adapted. New tests successfully ran locally on Linux, x86_64. |
I agree. I've just seen the same failure on another 11u PR. |
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.
Backport looks good. The different hasNonexistentEntries
handling seems consistent with the lack of JDK-8250586 in 11u. EdDSA support was only added in OpenJDK 16 by JDK-8242068.
I couldn't see the _
replacement mentioned. Was this backport based on the 17u version?
/approve yes |
@gnu-andrew |
/integrate |
It was done with the first commit as well as resolving conflicts, and replacing the absent alg with RSA. |
This is backport of "8309841: Jarsigner should print a warning if an entry is removed"
Original patch does not apply cleanly to jdk11, some minor conflicts, and also in
test/jdk/sun/security/tools/jarsigner/RemovedFiles.java
ed25519
algorithm was replaced withRSA
, and_
was replaced with a variable, and added the check insrc/jdk.jartool/share/classes/sun/security/tools/jarsigner/Main.java
at line 1259.We need this fix in jdk11 and below, down to jdk8, as all versions have this issue with jarsigner.
New tests successfully ran locally on Linux, x86_64.
Progress
Issues
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev.git pull/3007/head:pull/3007
$ git checkout pull/3007
Update a local copy of the PR:
$ git checkout pull/3007
$ git pull https://git.openjdk.org/jdk11u-dev.git pull/3007/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 3007
View PR using the GUI difftool:
$ git pr show -t 3007
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/3007.diff
Using Webrev
Link to Webrev Comment