RFR: JDK-8286666: JEP 429: Implementation of Scoped Values (Incubator) [v11]
Andrew Haley
aph at openjdk.org
Wed Nov 23 18:25:41 UTC 2022
On Fri, 18 Nov 2022 15:19:35 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Andrew Haley has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Reviewer feedback
>
> src/java.base/share/classes/java/lang/Thread.java line 787:
>
>> 785:
>> 786: // special value to mean a new thread
>> 787: this.scopedValueBindings = Thread.class;
>
> The addition of NEW_THREAD_BINDINGS means this one should change too. The update means the comment should probably be adjusted too, maybe "initial value for a new thread".
Done
-------------
PR: https://git.openjdk.org/jdk/pull/10952
More information about the core-libs-dev
mailing list