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 c8d941519f Fix intermittently failing test
c8d941519f is described below

commit c8d941519fdfb5dec052a54efb3da5797896081b
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Oct 2 17:36:05 2026 +0100

    Fix intermittently failing test
---
 java/org/apache/catalina/ha/session/DeltaSession.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/catalina/ha/session/DeltaSession.java 
b/java/org/apache/catalina/ha/session/DeltaSession.java
index fd207ff6da..e25db242b7 100644
--- a/java/org/apache/catalina/ha/session/DeltaSession.java
+++ b/java/org/apache/catalina/ha/session/DeltaSession.java
@@ -804,7 +804,7 @@ public class DeltaSession extends StandardSession 
implements Externalizable, Clu
                  * Record the current value, not the value passed in, so 
concurrent updates of the same attribute
                  * cannot leave the replica with an older value than the 
primary.
                  */
-                Object current = getAttribute(name);
+                Object current = attributes.get(name);
                 if (current != null && !exclude(name, current)) {
                     deltaRequest.setAttribute(name, current);
                 }


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

Reply via email to