Top Description Constructors Methods
sun.awt.util

public final Class ThreadGroupUtils

extends Object
Class Inheritance

A utility class needed to access the root ThreadGroup The class should not depend on any others, because it' called from JNI_OnLoad of the AWT native library. Triggering class loading could lead to a deadlock.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ThreadGroup

Returns:

a root ThreadGroup
getRootThreadGroup
()

Returns a root thread group.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ThreadGroupUtilsback to summary
private ThreadGroupUtils()

Method Detail

getRootThreadGroupback to summary
public static ThreadGroup getRootThreadGroup()

Returns a root thread group. Should be called with sun.security.util.SecurityConstants#MODIFY_THREADGROUP_PERMISSION

Returns:ThreadGroup

a root ThreadGroup