git: openjdk/jdk8u-dev: 8302017: Allocate BadPaddingException only if it will be thrown
Alexey Bakhtin
abakhtin at openjdk.org
Fri Dec 15 20:10:41 UTC 2023
Changeset: 2131e407
Author: Alexey Bakhtin <abakhtin at openjdk.org>
Date: 2023-12-15 20:08:18 +0000
URL: https://git.openjdk.org/jdk8u-dev/commit/2131e40736a1c6e0dceb25fb0d27ff80d9dcb497
8302017: Allocate BadPaddingException only if it will be thrown
Reviewed-by: mbalao, andrew
Backport-of: 334b977259930368160db705c1f2feda0b0e8707
! jdk/src/share/classes/com/sun/crypto/provider/RSACipher.java
! jdk/src/share/classes/sun/security/pkcs11/P11Signature.java
! jdk/src/share/classes/sun/security/rsa/RSAPadding.java
! jdk/src/share/classes/sun/security/rsa/RSASignature.java
+ jdk/test/sun/security/rsa/RSAPaddingCheck.java
More information about the jdk8u-dev-changes
mailing list