[jdk8u-dev] Integrated: 8302017: Allocate BadPaddingException only if it will be thrown

Alexey Bakhtin abakhtin at openjdk.org
Fri Dec 15 20:11:49 UTC 2023


On Thu, 14 Dec 2023 02:53:03 GMT, Alexey Bakhtin <abakhtin at openjdk.org> wrote:

> Almost clean backport from [JDK11 PR](https://github.com/openjdk/jdk11u-dev/pull/2383)
> The only changes in the RSASignature::engineVerify() method: getDigestValue() is called outside of try/catch block

This pull request has now been integrated.

Changeset: 2131e407
Author:    Alexey Bakhtin <abakhtin at openjdk.org>
URL:       https://git.openjdk.org/jdk8u-dev/commit/2131e40736a1c6e0dceb25fb0d27ff80d9dcb497
Stats:     154 lines in 5 files changed: 92 ins; 17 del; 45 mod

8302017: Allocate BadPaddingException only if it will be thrown

Reviewed-by: mbalao, andrew
Backport-of: 334b977259930368160db705c1f2feda0b0e8707

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

PR: https://git.openjdk.org/jdk8u-dev/pull/403


More information about the jdk8u-dev mailing list