Class Java2DLeakPreventer
- java.lang.Object
-
- org.eclipse.jetty.util.component.AbstractLifeCycle
-
- org.eclipse.jetty.util.preventers.AbstractLeakPreventer
-
- org.eclipse.jetty.util.preventers.Java2DLeakPreventer
-
- All Implemented Interfaces:
LifeCycle
@Deprecated public class Java2DLeakPreventer extends AbstractLeakPreventer
Deprecated.fixed in jdk 9, see https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6489540Java2DLeakPreventer Prevent pinning of webapp classloader by pre-loading sun.java2d.Disposer class before webapp classloaders are created. See https://issues.apache.org/bugzilla/show_bug.cgi?id=51687
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
-
-
Constructor Summary
Constructors Constructor Description Java2DLeakPreventer()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
prevent(java.lang.ClassLoader loader)
Deprecated.-
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop, toString
-
-
-
-
Method Detail
-
prevent
public void prevent(java.lang.ClassLoader loader)
Deprecated.- Specified by:
prevent
in classAbstractLeakPreventer
- See Also:
AbstractLeakPreventer.prevent(java.lang.ClassLoader)
-
-