[jdk8u-dev] RFR: 8302017: Allocate BadPaddingException only if it will be thrown
Alexey Bakhtin
abakhtin at openjdk.org
Thu Dec 14 03:00:05 UTC 2023
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
-------------
Commit messages:
- Fix switch statement
- Backport 334b977259930368160db705c1f2feda0b0e8707
Changes: https://git.openjdk.org/jdk8u-dev/pull/403/files
Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=403&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8302017
Stats: 155 lines in 5 files changed: 92 ins; 17 del; 46 mod
Patch: https://git.openjdk.org/jdk8u-dev/pull/403.diff
Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/403/head:pull/403
PR: https://git.openjdk.org/jdk8u-dev/pull/403
More information about the jdk8u-dev
mailing list