Integrated: 8002277: Refactor two PBE classes to simplify maintenance

Valerie Peng valeriep at openjdk.java.net
Tue May 17 20:59:58 UTC 2022


On Tue, 3 May 2022 19:30:40 GMT, Valerie Peng <valeriep at openjdk.org> wrote:

> This change refactors the PBES2Core and PKCS12PBECipherCore classes in SunJCE provider as requested in the bug record. Functionality should remain the same with a clearer and simplified code/control flow with less lines of code.  This should improve readability and maintenance. I enhanced one existing regression test to test more scenarios. This test would pass before the proposed change and continues to pass with the proposed changes.

This pull request has now been integrated.

Changeset: 61ddbef3
Author:    Valerie Peng <valeriep at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/61ddbef3681770b7a1f56456f686fcb176063329
Stats:     733 lines in 6 files changed: 185 ins; 402 del; 146 mod

8002277: Refactor two PBE classes to simplify maintenance

Reviewed-by: weijun

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

PR: https://git.openjdk.java.net/jdk/pull/8521



More information about the security-dev mailing list