8006409: ThreadLocalRandom should dropping padding fields from its serialized form

Doug Lea dl at cs.oswego.edu
Mon Feb 25 21:49:23 UTC 2013


On 02/25/13 16:46, Chris Hegarty wrote:
> [ Subject: 8006409: ThreadLocalRandom should drop padding fields
>    from its serialized form (was: Re: RFR (S): CR 8005926: (thread)
>    Merge ThreadLocalRandom state into java.lang.Thread) ]
>
> I think we are in agreement that the pad fields can safely be removed from the
> serial form. No problem. To remain compatible with the TLR implementation in
> jdk7, and to have a reconstituted TLR behave reasonably, we need to continue to
> write a sensible value for rnd.
>
> http://cr.openjdk.java.net/~chegar/8006409/webrev.00/webrev/
>
> If I can get agreement on this simple change, I'll finalize the "spec" change,
> with respect to the serial form of TLR, and hopefully we can put this one to bed.
>

Yes please!

-Doug





More information about the core-libs-dev mailing list