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

rmaucher 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 40ded9a07f Use the proper key
40ded9a07f is described below

commit 40ded9a07f948b1ff2bc0dd6e5dc2bab04bcaccd
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