RFR: 8003246: Add Supplier to ThreadLocal
Alan Bateman
Alan.Bateman at oracle.com
Thu Dec 6 19:59:10 UTC 2012
On 06/12/2012 19:43, Akhil Arora wrote:
>
> http://cr.openjdk.java.net/~akhil/8003246.3/webrev/
>
> also incorporates a nitpick from Mike -
> Objects.requireNonNull returns its arg
>
> Thanks - nitpicking welcome :)
Would it be worth including a note in the withInitial's javadoc to make
it clear that the given Supplier needs to be thread-safe?
-Alan.
More information about the core-libs-dev
mailing list