RFR: 8357797: Use StructuredTaskScopeImpl.ST_NEW for state init [v2]
Aleksey Shipilev
shade at openjdk.org
Mon May 26 17:17:30 UTC 2025
> 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
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/25452/files
- new: https://git.openjdk.org/jdk/pull/25452/files/711a3474..9518cb62
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=25452&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=25452&range=00-01
Stats: 2 lines in 1 file changed: 1 ins; 1 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/25452.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25452/head:pull/25452
PR: https://git.openjdk.org/jdk/pull/25452
More information about the core-libs-dev
mailing list