< prev index next >

src/java.base/share/classes/java/lang/SecurityManager.java

Print this page
@@ -1541,9 +1541,9 @@
       * @return  ThreadGroup that new threads are instantiated into
       * @since   1.1
       * @see     java.lang.ThreadGroup
       */
      public ThreadGroup getThreadGroup() {
-         return Thread.currentThread().getThreadGroup();
+         return Thread.getCurrentThreadGroup();
      }
  
  }
< prev index next >