This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/7.0.x by this push:
     new d15e6d0  Do not load stacktrace for StopPooledThreadException
d15e6d0 is described below

commit d15e6d06229800456413d80738f0503ccc1accc8
Author: Martin Tzvetanov Grigorov <mgrigo...@apache.org>
AuthorDate: Tue Aug 25 14:34:37 2020 +0300

    Do not load stacktrace for StopPooledThreadException
    
    StopPooledThreadException is a special exception used to stop a thread.
    There is no need to load its stacktrace.
---
 java/org/apache/tomcat/util/threads/StopPooledThreadException.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/util/threads/StopPooledThreadException.java 
b/java/org/apache/tomcat/util/threads/StopPooledThreadException.java
index fcee34a..e1447e2 100644
--- a/java/org/apache/tomcat/util/threads/StopPooledThreadException.java
+++ b/java/org/apache/tomcat/util/threads/StopPooledThreadException.java
@@ -26,6 +26,6 @@ public class StopPooledThreadException extends 
RuntimeException {
     private static final long serialVersionUID = 1L;
 
     public StopPooledThreadException(String msg) {
-        super(msg);
+        super(msg, null, false, false);
     }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to