File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
src/java.base/share/classes/java/lang Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -375,7 +375,6 @@ public final void checkAccess() {
375375 public int activeCount () {
376376 int n = 0 ;
377377 for (Thread thread : Thread .getAllThreads ()) {
378- @ SuppressWarnings ("deprecation" )
379378 ThreadGroup g = thread .getThreadGroup ();
380379 if (parentOf (g )) {
381380 n ++;
@@ -446,7 +445,6 @@ public int enumerate(Thread[] list, boolean recurse) {
446445 int n = 0 ;
447446 if (list .length > 0 ) {
448447 for (Thread thread : Thread .getAllThreads ()) {
449- @ SuppressWarnings ("deprecation" )
450448 ThreadGroup g = thread .getThreadGroup ();
451449 if (g == this || (recurse && parentOf (g ))) {
452450 list [n ++] = thread ;
@@ -582,7 +580,6 @@ public final void stop() {
582580 public final void interrupt () {
583581 checkAccess ();
584582 for (Thread thread : Thread .getAllThreads ()) {
585- @ SuppressWarnings ("deprecation" )
586583 ThreadGroup g = thread .getThreadGroup ();
587584 if (parentOf (g )) {
588585 thread .interrupt ();
You can’t perform that action at this time.
0 commit comments