RFR [9] 8056152 API to create Threads that do not inherit InheritableThreadLocals

mark.reinhold at oracle.com mark.reinhold at oracle.com
Wed Dec 9 16:58:28 UTC 2015


2015/12/8 5:36 -0800, david.holmes at oracle.com:
> On 9/12/2015 12:15 AM, Chris Hegarty wrote:
>> ...
>> 
>> Webrev:
>> http://cr.openjdk.java.net/~chegar/8056152/00/webrev/
> 
> Addition to Thread looks good to me.
> 
> I vote in favor of maintaining consistency of the existing Thread 
> construction patterns. Builders or whatever can be added later as a 
> separate RFE if considered desirable.

I agree -- the new constructor is a bit wordy, with five parameters, but
this is unlikely to be used all that broadly.  Introducing an entirely
new way to create threads, with a fluent builder API or whatever, can
come later.

- Mark



More information about the core-libs-dev mailing list