Integrated: 8302017: Allocate BadPaddingException only if it will be thrown

Valerie Peng valeriep at openjdk.org
Thu Jul 27 21:26:58 UTC 2023


On Tue, 11 Jul 2023 23:19:40 GMT, Valerie Peng <valeriep at openjdk.org> wrote:

> This change refactors the RSAPadding class to return an output record containing the status instead of relying on exception object to indicate a failure.
> 
> Thanks in advance for review~
> Valerie

This pull request has now been integrated.

Changeset: c27c8778
Author:    Valerie Peng <valeriep at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c27c87786a612501e080222dd8647f94b3b261e6
Stats:     157 lines in 5 files changed: 91 ins; 27 del; 39 mod

8302017: Allocate BadPaddingException only if it will be thrown

Reviewed-by: xuelei

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

PR: https://git.openjdk.org/jdk/pull/14839


More information about the security-dev mailing list