RFR: 8357797: Use StructuredTaskScopeImpl.ST_NEW for state init [v2]
Aleksey Shipilev
shade at openjdk.org
Tue May 27 09:45:56 UTC 2025
On Mon, 26 May 2025 17:17:30 GMT, Aleksey Shipilev <shade at 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`
>
> Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision:
>
> Move to the end
Looks simple enough to me, and unlikely to cause conflicts/problems, so I am integrating now.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25452#issuecomment-2911874358
More information about the core-libs-dev
mailing list