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

Alexey Bakhtin abakhtin at openjdk.org
Fri Dec 15 17:43:03 UTC 2023


On Thu, 14 Dec 2023 14:34:22 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
>
> Alexey Bakhtin has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fixed copyright date and engineVerify formating

Thank you. I've moved length checking out of the try block

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

PR Comment: https://git.openjdk.org/jdk8u-dev/pull/403#issuecomment-1858246035


More information about the jdk8u-dev mailing list