< prev index next >

src/java.rmi/share/classes/sun/rmi/runtime/NewThreadAction.java

Print this page
@@ -67,11 +67,11 @@
      /**
       * special child of the system thread group for running tasks that
       * may execute user code, so that the security policy for threads in
       * the system thread group will not apply
       */
-     @SuppressWarnings("removal")
+     @SuppressWarnings({"deprecation", "removal"})
      static final ThreadGroup userThreadGroup =
          AccessController.doPrivileged(new PrivilegedAction<ThreadGroup>() {
              public ThreadGroup run() {
                  return new ThreadGroup(systemThreadGroup, "RMI Runtime");
              }
< prev index next >