RFR: JDK-8286666: JEP 429: Implementation of Scoped Values (Incubator) [v11]

Alan Bateman alanb at openjdk.org
Fri Nov 18 15:23:27 UTC 2022


On Fri, 18 Nov 2022 15:05:42 GMT, Andrew Haley <aph at openjdk.org> wrote:

>> JEP 429 implementation.
>
> 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".

-------------

PR: https://git.openjdk.org/jdk/pull/10952


More information about the core-libs-dev mailing list