8006409: ThreadLocalRandom should dropping padding fields from its serialized form

Chris Hegarty chris.hegarty at oracle.com
Wed Feb 27 17:55:10 UTC 2013


On 02/27/2013 05:10 PM, Martin Buchholz wrote:
> CVS has been updated with some more internal doc clarifications.
>
> http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/main/java/util/concurrent/ThreadLocalRandom.java?view=co

Thanks Martin,

Once the CCC approves these changes, I will push them to jdk8.

-Chris.

>
> Martin's "random" wishlist:
> - I wish the cool convenience methods in TLR like nextInt(least, bound)
> could be promoted to Random.java, or perhaps to a utility class Randoms.java
> - I wish that TLR didn't continue to extend the life of Random's poor
> PRNG, and at least provide one with a 2**64 period.  I don't see much
> value producing a sequence compatible with Random, given that setSeed is
> not available.
>
> but it's probably too late.



More information about the core-libs-dev mailing list