Redundant @SuppressWarnings("deprecation") for Thread.getThreadGroup()
Andrey Turbanov
turbanoff at gmail.com
Wed Sep 28 06:58:05 UTC 2022
Hello.
IntelliJ IDEA highlights redundant warning suppressions for
Thread.getThreadGroup() calls in ThreadGroup calls.
All of them were added during Loom integration.
https://github.com/openjdk/jdk/blob/79ccc791f275be7cfea95ff0ce8cf7361c7f08ad/src/java.base/share/classes/java/lang/ThreadGroup.java#L378
https://github.com/openjdk/jdk/blob/79ccc791f275be7cfea95ff0ce8cf7361c7f08ad/src/java.base/share/classes/java/lang/ThreadGroup.java#L449
https://github.com/openjdk/jdk/blob/79ccc791f275be7cfea95ff0ce8cf7361c7f08ad/src/java.base/share/classes/java/lang/ThreadGroup.java#L585
Is it still planned to deprecate this method? Or can I remove
redundant suppressions?
Andrey Turbanov
More information about the core-libs-dev
mailing list