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

markt-asf 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 2eedaf85d1 Better comment
2eedaf85d1 is described below

commit 2eedaf85d12b6ef9454e3300632d3e0c9f42fb81
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Jun 12 17:31:20 2026 +0100

    Better comment
---
 java/org/apache/catalina/ant/jmx/JMXAccessorConditionBase.java | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/java/org/apache/catalina/ant/jmx/JMXAccessorConditionBase.java 
b/java/org/apache/catalina/ant/jmx/JMXAccessorConditionBase.java
index e114f25439..6d08cd478e 100644
--- a/java/org/apache/catalina/ant/jmx/JMXAccessorConditionBase.java
+++ b/java/org/apache/catalina/ant/jmx/JMXAccessorConditionBase.java
@@ -233,7 +233,10 @@ public abstract class JMXAccessorConditionBase extends 
ProjectComponent implemen
                 return result.toString();
             }
         } catch (Exception e) {
-            // ignore access or connection open errors
+            /*
+             * Exceptions are ignored for compatibility with the waitFor task 
when waiting for the server to start. If
+             * the exception was thrown the build task would fail rather than 
wait.
+             */
         }
         return null;
     }


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

Reply via email to