RFR: 8302017: Allocate BadPaddingException only if it will be thrown [v2]
Valerie Peng
valeriep at openjdk.org
Wed Jul 12 23:12:18 UTC 2023
> 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
Valerie Peng has updated the pull request incrementally with one additional commit since the last revision:
Address review feedbacks, e.g. Removed RSAPadding.Output and use byte[] as before.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/14839/files
- new: https://git.openjdk.org/jdk/pull/14839/files/52e8e28f..cbb958d9
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=14839&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=14839&range=00-01
Stats: 83 lines in 5 files changed: 17 ins; 24 del; 42 mod
Patch: https://git.openjdk.org/jdk/pull/14839.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14839/head:pull/14839
PR: https://git.openjdk.org/jdk/pull/14839
More information about the security-dev
mailing list