< prev index next >

src/java.desktop/share/classes/sun/java2d/marlin/MarlinUtils.java

Print this page
*** 68,10 ***
--- 68,11 ---
       * Should be called with {@link sun.security.util.SecurityConstants#MODIFY_THREADGROUP_PERMISSION}
       *
       * @return a root {@code ThreadGroup}
       */
      public static ThreadGroup getRootThreadGroup() {
+         @SuppressWarnings("deprecation")
          ThreadGroup currentTG = Thread.currentThread().getThreadGroup();
          ThreadGroup parentTG = currentTG.getParent();
          while (parentTG != null) {
              currentTG = parentTG;
              parentTG = currentTG.getParent();
< prev index next >