This is an automated email from the ASF dual-hosted git repository.
markt-asf 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 6606afa3b2 Better comment
6606afa3b2 is described below
commit 6606afa3b20df6368ba9d1b8119a5bb4a98c84e0
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]