Class AWTLeakPreventer
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.preventers.AbstractLeakPreventer
org.eclipse.jetty.util.preventers.AWTLeakPreventer
- All Implemented Interfaces:
LifeCycle
AWTLeakPreventer
See https://issues.jboss.org/browse/AS7-3733
The java.awt.Toolkit class has a static field that is the default toolkit.
Creating the default toolkit causes the creation of an EventQueue, which has a
classloader field initialized by the thread context class loader.
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener, AbstractLifeCycle.StopExceptionNested classes/interfaces inherited from interface LifeCycle
LifeCycle.Listener -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractLeakPreventer
doStartMethods inherited from class AbstractLifeCycle
addEventListener, doStop, getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, setEventListeners, start, stop, toString
-
Constructor Details
-
AWTLeakPreventer
public AWTLeakPreventer()
-
-
Method Details
-
prevent
- Specified by:
preventin classAbstractLeakPreventer
-