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

Alexey Bakhtin abakhtin at openjdk.org
Thu Dec 14 14:34:22 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

Alexey Bakhtin has updated the pull request incrementally with one additional commit since the last revision:

  Fixed copyright date and engineVerify formating

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

Changes:
  - all: https://git.openjdk.org/jdk8u-dev/pull/403/files
  - new: https://git.openjdk.org/jdk8u-dev/pull/403/files/66deb0df..2110d9f5

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=403&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=403&range=00-01

  Stats: 8 lines in 2 files changed: 0 ins; 1 del; 7 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