RFR 8024253: ThreadLocal random can use SecureRandom for the initial seed

Alan Bateman Alan.Bateman at oracle.com
Mon Sep 16 09:35:07 UTC 2013

On 15/09/2013 17:32, Paul Sandoz wrote:
> Hi,
> http://cr.openjdk.java.net/~psandoz/tl/JDK-8024253-tlr-seed/webrev/
> Now that the hash seed functionality, which utilized ThreadLocalRandom, has been removed from Hashtable and WeakHashMap we can update TLR to use the same seed initialization functionality as SplittableRandom, which includes using SecureRandom if the system property "java.util.secureRandomSeed" is set to true.
> Paul.
Looks okay to me although it might be better to catch UHE rather than 


More information about the core-libs-dev mailing list