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

markt-asf 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 fa75a31ad8 Remove incorrect throw statements
fa75a31ad8 is described below

commit fa75a31ad82e3f6d68776dbf038b489cc1278b52
Author: Mark Thomas <[email protected]>
AuthorDate: Thu May 7 15:39:29 2026 +0100

    Remove incorrect throw statements
---
 java/org/apache/tomcat/util/threads/ThreadPoolExecutor.java | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/java/org/apache/tomcat/util/threads/ThreadPoolExecutor.java 
b/java/org/apache/tomcat/util/threads/ThreadPoolExecutor.java
index 1879337f35..6c615721de 100644
--- a/java/org/apache/tomcat/util/threads/ThreadPoolExecutor.java
+++ b/java/org/apache/tomcat/util/threads/ThreadPoolExecutor.java
@@ -1168,9 +1168,6 @@ public class ThreadPoolExecutor extends 
AbstractExecutorService {
      * <p>
      * This method does not wait for previously submitted tasks to complete 
execution. Use {@link #awaitTermination
      * awaitTermination} to do that.
-     *
-     * @throws SecurityException If a security manager exists and shutting 
down this
-      *             pool requires the {@link RuntimePermission}{@code 
("shutdownNow")} permission
       */
     @Override
     public void shutdown() {
@@ -1197,9 +1194,6 @@ public class ThreadPoolExecutor extends 
AbstractExecutorService {
      * There are no guarantees beyond best-effort attempts to stop processing 
actively executing tasks. This
      * implementation interrupts tasks via {@link Thread#interrupt}; any task 
that fails to respond to interrupts may
      * never terminate.
-     *
-    * @throws SecurityException If a security manager exists and shutting down 
this
-      *             pool requires the {@link RuntimePermission}{@code 
("shutdownNow")} permission
       */
     @Override
     public List<Runnable> shutdownNow() {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to