mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-09 18:08:31 +00:00
8357797: Use StructuredTaskScopeImpl.ST_NEW for state init
Reviewed-by: alanb
This commit is contained in:
parent
aea32ec506
commit
b9db99d7f7
@ -67,6 +67,7 @@ final class StructuredTaskScopeImpl<T, R> implements StructuredTaskScope<T, R> {
|
||||
this.joiner = joiner;
|
||||
this.threadFactory = threadFactory;
|
||||
this.flock = ThreadFlock.open((name != null) ? name : Objects.toIdentityString(this));
|
||||
this.state = ST_NEW;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user