This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 10.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.0.x by this push: new cb6e698 Fix back-port of previous commit cb6e698 is described below commit cb6e69855cdf4b8951c0a25288114350977ef90f Author: Mark Thomas <ma...@apache.org> AuthorDate: Tue Nov 2 12:03:39 2021 +0000 Fix back-port of previous commit --- java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java b/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java index 12bf11e..5163623 100644 --- a/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java +++ b/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java @@ -32,8 +32,8 @@ import javax.xml.parsers.ParserConfigurationException; import org.apache.catalina.Lifecycle; import org.apache.catalina.LifecycleEvent; import org.apache.catalina.LifecycleListener; -import org.apache.catalina.startup.SafeForkJoinWorkerThreadFactory; import org.apache.catalina.Server; +import org.apache.catalina.startup.SafeForkJoinWorkerThreadFactory; import org.apache.juli.logging.Log; import org.apache.juli.logging.LogFactory; import org.apache.tomcat.util.ExceptionUtils; @@ -56,6 +56,8 @@ import org.w3c.dom.ls.DOMImplementationLS; * Locked files usually occur when a resource inside a JAR is accessed without * first disabling Jar URL connection caching. The workaround is to disable this * caching by default. + * <p> + * This listener must only be nested within {@link Server} elements. */ public class JreMemoryLeakPreventionListener implements LifecycleListener { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org