8006409: ThreadLocalRandom should dropping padding fields from its serialized form
Martin Buchholz
martinrb at google.com
Wed Feb 27 17:10:02 UTC 2013
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
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