On 18/03/2024 20:24, [email protected] wrote:
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 1972d821a0 IDE says this is no longer required
1972d821a0 is described below
commit 1972d821a093002328e7a43c4a7e2ef1fb017af2
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Mar 18 20:24:07 2024 +0000
IDE says this is no longer required
Just realised this was new rather than old. I'm guessing you are
compiling with Java 22 in the IDE which is why you need this?
Mark
---
java/org/apache/tomcat/util/net/AbstractEndpoint.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/java/org/apache/tomcat/util/net/AbstractEndpoint.java
b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
index 2c8a77ddd2..b63a493c27 100644
--- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java
+++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
@@ -1240,7 +1240,6 @@ public abstract class AbstractEndpoint<S,U> {
this.executor = null;
if (executor instanceof ThreadPoolExecutor) {
//this is our internal one, so we need to shut it down
- @SuppressWarnings("resource")
ThreadPoolExecutor tpe = (ThreadPoolExecutor) executor;
tpe.shutdownNow();
long timeout = getExecutorTerminationTimeoutMillis();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]