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

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


The following commit(s) were added to refs/heads/11.0.x by this push:
     new fb8e538189 Use the proper key
fb8e538189 is described below

commit fb8e53818950ba8d23a134f83a0124205b443d76
Author: remm <[email protected]>
AuthorDate: Thu May 21 11:33:37 2026 +0200

    Use the proper key
---
 .../catalina/core/StandardVirtualThreadExecutor.java   | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/java/org/apache/catalina/core/StandardVirtualThreadExecutor.java 
b/java/org/apache/catalina/core/StandardVirtualThreadExecutor.java
index 928b82784f..faa652b0f1 100644
--- a/java/org/apache/catalina/core/StandardVirtualThreadExecutor.java
+++ b/java/org/apache/catalina/core/StandardVirtualThreadExecutor.java
@@ -132,7 +132,7 @@ public class StandardVirtualThreadExecutor extends 
LifecycleMBeanBase implements
         if (executor != null) {
             return executor.isShutdown();
         } else {
-            throw new 
IllegalStateException(sm.getString("standardThreadExecutor.notStarted"));
+            throw new 
IllegalStateException(sm.getString("standardVirtualThreadExecutor.notStarted"));
         }
     }
 
@@ -142,7 +142,7 @@ public class StandardVirtualThreadExecutor extends 
LifecycleMBeanBase implements
         if (executor != null) {
             return executor.isTerminated();
         } else {
-            throw new 
IllegalStateException(sm.getString("standardThreadExecutor.notStarted"));
+            throw new 
IllegalStateException(sm.getString("standardVirtualThreadExecutor.notStarted"));
         }
     }
 
@@ -158,7 +158,7 @@ public class StandardVirtualThreadExecutor extends 
LifecycleMBeanBase implements
         if (executor != null) {
             return executor.submit(task);
         } else {
-            throw new 
IllegalStateException(sm.getString("standardThreadExecutor.notStarted"));
+            throw new 
IllegalStateException(sm.getString("standardVirtualThreadExecutor.notStarted"));
         }
     }
 
@@ -168,7 +168,7 @@ public class StandardVirtualThreadExecutor extends 
LifecycleMBeanBase implements
         if (executor != null) {
             return executor.submit(task, result);
         } else {
-            throw new 
IllegalStateException(sm.getString("standardThreadExecutor.notStarted"));
+            throw new 
IllegalStateException(sm.getString("standardVirtualThreadExecutor.notStarted"));
         }
     }
 
@@ -178,7 +178,7 @@ public class StandardVirtualThreadExecutor extends 
LifecycleMBeanBase implements
         if (executor != null) {
             return executor.submit(task);
         } else {
-            throw new 
IllegalStateException(sm.getString("standardThreadExecutor.notStarted"));
+            throw new 
IllegalStateException(sm.getString("standardVirtualThreadExecutor.notStarted"));
         }
     }
 
@@ -188,7 +188,7 @@ public class StandardVirtualThreadExecutor extends 
LifecycleMBeanBase implements
         if (executor != null) {
             return executor.invokeAll(tasks);
         } else {
-            throw new 
IllegalStateException(sm.getString("standardThreadExecutor.notStarted"));
+            throw new 
IllegalStateException(sm.getString("standardVirtualThreadExecutor.notStarted"));
         }
     }
 
@@ -199,7 +199,7 @@ public class StandardVirtualThreadExecutor extends 
LifecycleMBeanBase implements
         if (executor != null) {
             return executor.invokeAll(tasks, timeout, unit);
         } else {
-            throw new 
IllegalStateException(sm.getString("standardThreadExecutor.notStarted"));
+            throw new 
IllegalStateException(sm.getString("standardVirtualThreadExecutor.notStarted"));
         }
     }
 
@@ -209,7 +209,7 @@ public class StandardVirtualThreadExecutor extends 
LifecycleMBeanBase implements
         if (executor != null) {
             return executor.invokeAny(tasks);
         } else {
-            throw new 
IllegalStateException(sm.getString("standardThreadExecutor.notStarted"));
+            throw new 
IllegalStateException(sm.getString("standardVirtualThreadExecutor.notStarted"));
         }
     }
 
@@ -220,7 +220,7 @@ public class StandardVirtualThreadExecutor extends 
LifecycleMBeanBase implements
         if (executor != null) {
             return executor.invokeAny(tasks, timeout, unit);
         } else {
-            throw new 
IllegalStateException(sm.getString("standardThreadExecutor.notStarted"));
+            throw new 
IllegalStateException(sm.getString("standardVirtualThreadExecutor.notStarted"));
         }
     }
 }
\ No newline at end of file


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

Reply via email to