hg: jdk/sandbox: 8241960: The SHA3 message digests impl of SUN provider are not thread safe after cloned

chris.hegarty at oracle.com chris.hegarty at oracle.com
Fri Apr 3 22:45:14 UTC 2020


Changeset: 23ea6cf5546b
Author:    abakhtin
Date:      2020-04-03 22:39 +0000
URL:       https://hg.openjdk.java.net/jdk/sandbox/rev/23ea6cf5546b

8241960: The SHA3 message digests impl of SUN provider are not thread safe after cloned
Summary: Fix sun.security.provider.SHA3 class to correctly clone its lanes field
Reviewed-by: valeriep

! src/java.base/share/classes/sun/security/provider/SHA3.java
+ test/jdk/java/security/MessageDigest/ThreadSafetyTest.java



More information about the jdk-sandbox-changes mailing list