On Thu, 13 Aug 2026 20:50:03 GMT, Mark Powers <[email protected]> wrote:

> https://bugs.openjdk.org/browse/JDK-8326087
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

src/java.base/share/classes/sun/security/pkcs12/PKCS12KeyStore.java line 1949:

> 1947:             privateKeyCount = 0;
> 1948:             secretKeyCount = 0;
> 1949:             certificateCount = 0;

Maybe moving the 3 assignments above outside of the if check?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/32357#discussion_r3830909739

Reply via email to