This is an automated email from the ASF dual-hosted git repository. markt 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 e8316295cd Make serializable e8316295cd is described below commit e8316295cde471f341965f1fa73c1f03b79e5033 Author: Mark Thomas <ma...@apache.org> AuthorDate: Sun Aug 21 17:20:33 2022 +0100 Make serializable This is part of the preparation to fix BZ 66120. The SavedRequest needs to be Serializable to support replication across a cluster, persistence to disk/database as well a range of third party solutions that use Tomcat's serialization code. --- java/org/apache/catalina/authenticator/SavedRequest.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/java/org/apache/catalina/authenticator/SavedRequest.java b/java/org/apache/catalina/authenticator/SavedRequest.java index e13fa591c6..c8ea2fadf2 100644 --- a/java/org/apache/catalina/authenticator/SavedRequest.java +++ b/java/org/apache/catalina/authenticator/SavedRequest.java @@ -16,6 +16,7 @@ */ package org.apache.catalina.authenticator; +import java.io.Serializable; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; @@ -39,7 +40,9 @@ import org.apache.tomcat.util.buf.ByteChunk; * * @author Craig R. McClanahan */ -public final class SavedRequest { +public final class SavedRequest implements Serializable { + + private static final long serialVersionUID = 1L; /** * The set of Cookies associated with this Request. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org