You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2026/10/02 16:36:21 UTC
(tomcat) branch main updated: Fix intermittently failing test
This is an automated email from the ASF dual-hosted git repository.
markt-asf 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 01e4568796 Fix intermittently failing test
01e4568796 is described below
commit 01e4568796f87eaecb72c724de6dc2dd87d3f497
Author: Mark Thomas <ma...@apache.org>
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 9e881a1cdc..1d8dbe601c 100644
--- a/java/org/apache/catalina/ha/session/DeltaSession.java
+++ b/java/org/apache/catalina/ha/session/DeltaSession.java
@@ -787,7 +787,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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org