[concurrency-interest] ThreadLocalRandom vs ThreadLocalSecureRandom ?

Hanson Char hanson.char at gmail.com
Mon Feb 13 22:52:45 EST 2012


Apparently ThreadLocalRandom is made available in Java 7 for concurrency
reason:


http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ThreadLocalRandom.html

I wonder why there isn't a thread local equivalence for SecureRandom.  Is
it just an "accident" or is there a good reason ?

Thanks,
Hanson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20120213/f80ab1da/attachment.html>


More information about the Concurrency-interest mailing list