On Thu, 8 May 2025 18:18:44 GMT, Chen Liang <li...@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