[jdk11u-dev] RFR: 8302017: Allocate BadPaddingException only if it will be thrown

Martin Balao mbalao at openjdk.org
Thu Dec 14 06:58:47 UTC 2023


On Thu, 14 Dec 2023 00:36:29 GMT, Alexey Bakhtin <abakhtin at openjdk.org> wrote:

> Almost clean backport from [JDK17 PR](https://github.com/openjdk/jdk17u-dev/pull/1864)
> The only difference is the copyright years and switch statement in the RSAPadding::unpad()

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.

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

Marked as reviewed by mbalao (Reviewer).

PR Review: https://git.openjdk.org/jdk11u-dev/pull/2383#pullrequestreview-1781060046


More information about the jdk-updates-dev mailing list