This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 8.5.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push: new 861ab24 Fix back-port of previous commit 861ab24 is described below commit 861ab24ad00c9ad6e7a762b7475e87fd3af9ca05 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 c8d4847..59e8ff7 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