On Mon, 26 May 2025 16:37:01 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:
> SonarCloud complains `ST_NEW` constant is not used. Looks to me the > constructor implicitly relies on default value for `state`. It would be > cleaner to initialize it explicitly > > Additional testing: > - [x] Linux x86_64 server fastdebug, `java/util/concurrent` This pull request has now been integrated. Changeset: b9db99d7 Author: Aleksey Shipilev <sh...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/b9db99d7f7e3720c7e34fbcd22ff9529054601f6 Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod 8357797: Use StructuredTaskScopeImpl.ST_NEW for state init Reviewed-by: alanb ------------- PR: https://git.openjdk.org/jdk/pull/25452