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

markt-asf pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 692b3cc524 Restore non-short-circuit behaviour
692b3cc524 is described below

commit 692b3cc524a23fb0fd62af2a59635081fe8af88b
Author: Mark Thomas <[email protected]>
AuthorDate: Wed May 27 17:59:40 2026 +0100

    Restore non-short-circuit behaviour
---
 java/org/apache/catalina/tribes/membership/McastServiceImpl.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/java/org/apache/catalina/tribes/membership/McastServiceImpl.java 
b/java/org/apache/catalina/tribes/membership/McastServiceImpl.java
index c1334f6a9e..b6fcff0d5e 100644
--- a/java/org/apache/catalina/tribes/membership/McastServiceImpl.java
+++ b/java/org/apache/catalina/tribes/membership/McastServiceImpl.java
@@ -812,7 +812,8 @@ public class McastServiceImpl extends 
MembershipProviderBase {
                     if (log.isInfoEnabled()) {
                         log.info(sm.getString("mcastServiceImpl.recovery"));
                     }
-                    if (stopService() && startService()) {
+                    // Non short-circuit AND since we want both stop and start 
to execute
+                    if (stopService() & startService()) {
                         success = true;
                         if (log.isInfoEnabled()) {
                             
log.info(sm.getString("mcastServiceImpl.recovery.successful"));


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

Reply via email to