Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* Document document = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();
* DOMImplementationLS implementation = (DOMImplementationLS)document.getImplementation();
* implementation.createLSSerializer().writeToString(document);
* </code> may trigger leaks caused by the static fields {@link com.sun.org.apache.xerces.internal.dom.DOMNormalizer#abort} and
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl#abort} respectively keeping stacktraces/backtraces
* </code> may trigger leaks caused by the static fields "com.sun.org.apache.xerces.internal.dom.DOMNormalizer#abort" and
* "com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl#abort" respectively keeping stacktraces/backtraces
* that may include references to classes loaded by our web application.
*
* Since the {@link java.lang.Throwable#backtrace} itself cannot be accessed via reflection (see
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
import se.jiderhamn.classloader.leak.prevention.ClassLoaderPreMortemCleanUp;

/**
* {@link sun.security.ssl.X509TrustManagerImpl} keeps a list set of trusted certs, which may include
* {@link sun.security.x509.UnparseableExtension} that in turn may include an {@link Exception} with a backtrace
* "sun.security.ssl.X509TrustManagerImpl" keeps a list set of trusted certs, which may include
* "sun.security.x509.UnparseableExtension" that in turn may include an {@link Exception} with a backtrace
* with references to the classloader that we want to protect
* @author Mattias Jiderhamn
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import se.jiderhamn.classloader.leak.prevention.PreClassLoaderInitiator;

/**
* There will be a strong reference from {@link sun.awt.AppContext#contextClassLoader} to the classloader of the calls
* to {@link sun.awt.AppContext#getAppContext()}. Avoid leak by forcing initialization using system classloader.
* There will be a strong reference from "sun.awt.AppContext#contextClassLoader" to the classloader of the calls
* to "sun.awt.AppContext#getAppContext()". Avoid leak by forcing initialization using system classloader.
* Note that Google Web Toolkit (GWT) will trigger this leak via its use of javax.imageio.
*
* See http://java.jiderhamn.se/2012/02/26/classloader-leaks-v-common-mistakes-and-known-offenders/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
import javax.management.NotificationEmitter;
import javax.management.NotificationListener;

import com.sun.jmx.interceptor.DefaultMBeanServerInterceptor;

/**
* Test case for {@link MXBeanNotificationListenersCleanUp} when {@link DefaultMBeanServerInterceptor.ListenerWrapper}
* Test case for {@link MXBeanNotificationListenersCleanUp} when "com.sun.jmx.interceptor.DefaultMBeanServerInterceptor$ListenerWrapper"
* is used.
* @author Mattias Jiderhamn
*/
Expand Down