Class AWTLeakPreventer

  • All Implemented Interfaces:
    LifeCycle

    public class AWTLeakPreventer
    extends AbstractLeakPreventer
    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.