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

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


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

commit be586c470c474782983850374555d42ca48a9d4f
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 6dc7e1c23c..6c8a07282a 100644
--- a/java/org/apache/catalina/core/StandardVirtualThreadExecutor.java
+++ b/java/org/apache/catalina/core/StandardVirtualThreadExecutor.java
@@ -142,7 +142,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"));
         }
     }
 
@@ -152,7 +152,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"));
         }
     }
 
@@ -168,7 +168,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"));
         }
     }
 
@@ -178,7 +178,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"));
         }
     }
 
@@ -188,7 +188,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"));
         }
     }
 
@@ -198,7 +198,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"));
         }
     }
 
@@ -209,7 +209,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"));
         }
     }
 
@@ -219,7 +219,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"));
         }
     }
 
@@ -230,7 +230,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