RFR: 6383195: javax.crypto.spec.PBEKeySpec is not thread safe

Weijun Wang weijun at openjdk.org
Thu Jul 28 01:45:05 UTC 2022


On Wed, 27 Jul 2022 23:53:53 GMT, Bradford Wetmore <wetmore at openjdk.org> wrote:

> Simple fix to a long-standing threading bug to help clear the bug backlog.  
> 
> Without the synchronized, the test case fails almost immediately.  
> 
> Running JPRT with tier1/tier2.

LGTM.

BTW, how often can you observe a test failure before the code change?

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

Marked as reviewed by weijun (Reviewer).

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



More information about the security-dev mailing list