RFR: 8355022: Implement JEP 506: Scoped Values [v7]

Andrew Haley aph at openjdk.org
Fri May 9 08:28:00 UTC 2025


On Thu, 8 May 2025 18:18:44 GMT, Chen Liang <liach at openjdk.org> wrote:

> I noted that `ThreadFlock` is using scoped values but throwing `StructureViolationException` introduced by structured concurrency - is it considered an implementation artifact and part of structured concurrency instead?
> 
> Context: test/jdk/jdk/internal/misc/ThreadFlock/WithScopedValue.java

That's an interesting question that I'll leave to @AlanBateman .

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

PR Comment: https://git.openjdk.org/jdk/pull/24923#issuecomment-2865632535


More information about the compiler-dev mailing list