This is an automated email from the ASF dual-hosted git repository.
mgrigorov 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 01945af Do not load stacktrace for StopPooledThreadException
01945af is described below
commit 01945afb05bd0df98701f83a783e89da82fcd1c8
Author: Martin Tzvetanov Grigorov <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]