-
Notifications
You must be signed in to change notification settings - Fork 252
8302017: Allocate BadPaddingException only if it will be thrown #2383
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
Conversation
|
👋 Welcome back abakhtin! A progress list of the required criteria for merging this PR into |
|
This backport pull request has now been updated with issue from the original commit. |
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.
Hi @alexeybakhtin ,
Thanks for proposing this backport. One minor comment (that I made for 17u): the copyright date change in RSAPadding.java is not needed. Otherwise, looks good to me. Before moving forward, I'd wait for the 17u backport integration and check if there is any other change.
|
|
Thank you @martinuy! copyright date is reverted. |
|
@alexeybakhtin 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 4 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 ➡️ To integrate this PR with the above commit message to the |
|
/integrate |
|
Going to push as commit 1a3385e.
Your commit was automatically rebased without conflicts. |
|
@alexeybakhtin Pushed as commit 1a3385e. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Almost clean backport from JDK17 PR
The only difference is the copyright years and switch statement in the RSAPadding::unpad()
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev.git pull/2383/head:pull/2383$ git checkout pull/2383Update a local copy of the PR:
$ git checkout pull/2383$ git pull https://git.openjdk.org/jdk11u-dev.git pull/2383/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2383View PR using the GUI difftool:
$ git pr show -t 2383Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/2383.diff
Webrev
Link to Webrev Comment