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

rmaucher 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 3dd1c0ed81 Restore extending classes
3dd1c0ed81 is described below

commit 3dd1c0ed81602cfd426cf2e467d78cf09d1215c7
Author: remm <[email protected]>
AuthorDate: Wed Jun 24 10:24:58 2026 +0200

    Restore extending classes
---
 .../catalina/valves/AbstractAccessLogValve.java    | 32 +++++++++++-----------
 webapps/docs/changelog.xml                         |  4 +++
 2 files changed, 20 insertions(+), 16 deletions(-)

diff --git a/java/org/apache/catalina/valves/AbstractAccessLogValve.java 
b/java/org/apache/catalina/valves/AbstractAccessLogValve.java
index 692fcf6986..716ba4dea5 100644
--- a/java/org/apache/catalina/valves/AbstractAccessLogValve.java
+++ b/java/org/apache/catalina/valves/AbstractAccessLogValve.java
@@ -879,7 +879,7 @@ public abstract class AbstractAccessLogValve extends 
ValveBase implements Access
         /**
          * Constructs a new ThreadNameElement.
          */
-        ThreadNameElement() {
+        public ThreadNameElement() {
         }
 
         /**
@@ -1018,7 +1018,7 @@ public abstract class AbstractAccessLogValve extends 
ValveBase implements Access
         /**
          * Constructs a new HostElement.
          */
-        HostElement() {
+        public HostElement() {
         }
 
         /**
@@ -1067,7 +1067,7 @@ public abstract class AbstractAccessLogValve extends 
ValveBase implements Access
         /**
          * Constructs a new LogicalUserNameElement.
          */
-        LogicalUserNameElement() {
+        public LogicalUserNameElement() {
         }
 
         /**
@@ -1092,7 +1092,7 @@ public abstract class AbstractAccessLogValve extends 
ValveBase implements Access
         /**
          * Constructs a new ProtocolElement.
          */
-        ProtocolElement() {
+        public ProtocolElement() {
         }
 
         /**
@@ -1126,7 +1126,7 @@ public abstract class AbstractAccessLogValve extends 
ValveBase implements Access
         /**
          * Constructs a new UserElement.
          */
-        UserElement() {
+        public UserElement() {
         }
 
         /**
@@ -1202,7 +1202,7 @@ public abstract class AbstractAccessLogValve extends 
ValveBase implements Access
         /**
          * Creates a new date and time element using CLF format.
          */
-        protected DateAndTimeElement() {
+        public DateAndTimeElement() {
             this(null);
         }
 
@@ -1240,7 +1240,7 @@ public abstract class AbstractAccessLogValve extends 
ValveBase implements Access
          *
          * @param sdf The SimpleDateFormat pattern or special format identifier
          */
-        protected DateAndTimeElement(String sdf) {
+        public DateAndTimeElement(String sdf) {
             String format = sdf;
             boolean needsEscaping = false;
             if (sdf != null) {
@@ -1351,7 +1351,7 @@ public abstract class AbstractAccessLogValve extends 
ValveBase implements Access
         /**
          * Constructs a new RequestElement.
          */
-        RequestElement() {
+        public RequestElement() {
         }
 
         /**
@@ -1391,7 +1391,7 @@ public abstract class AbstractAccessLogValve extends 
ValveBase implements Access
         /**
          * Constructs a new HttpStatusCodeElement.
          */
-        HttpStatusCodeElement() {
+        public HttpStatusCodeElement() {
         }
 
         /**
@@ -1540,7 +1540,7 @@ public abstract class AbstractAccessLogValve extends 
ValveBase implements Access
         /**
          * Constructs a new MethodElement.
          */
-        MethodElement() {
+        public MethodElement() {
         }
 
         /**
@@ -1597,7 +1597,7 @@ public abstract class AbstractAccessLogValve extends 
ValveBase implements Access
         /**
          * Constructs a new FirstByteTimeElement.
          */
-        FirstByteTimeElement() {
+        public FirstByteTimeElement() {
         }
 
         /**
@@ -1628,7 +1628,7 @@ public abstract class AbstractAccessLogValve extends 
ValveBase implements Access
         /**
          * Constructs a new QueryElement.
          */
-        QueryElement() {
+        public QueryElement() {
         }
 
         /**
@@ -1681,7 +1681,7 @@ public abstract class AbstractAccessLogValve extends 
ValveBase implements Access
         /**
          * Constructs a new SessionIdElement.
          */
-        SessionIdElement() {
+        public SessionIdElement() {
         }
 
         /**
@@ -1715,7 +1715,7 @@ public abstract class AbstractAccessLogValve extends 
ValveBase implements Access
         /**
          * Constructs a new RequestURIElement.
          */
-        RequestURIElement() {
+        public RequestURIElement() {
         }
 
         /**
@@ -1744,7 +1744,7 @@ public abstract class AbstractAccessLogValve extends 
ValveBase implements Access
         /**
          * Constructs a new LocalServerNameElement.
          */
-        LocalServerNameElement() {
+        public LocalServerNameElement() {
         }
 
         /**
@@ -1985,7 +1985,7 @@ public abstract class AbstractAccessLogValve extends 
ValveBase implements Access
         /**
          * Constructs a new ConnectionStatusElement.
          */
-        ConnectionStatusElement() {
+        public ConnectionStatusElement() {
         }
 
         /**
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index d655257004..03ea5e4fac 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -125,6 +125,10 @@
         <bug>70127</bug>: Fix use of Bootstrap through reflection by restoring
         the public constructor. Use through scripts was not affected. (remm)
       </fix>
+      <fix>
+        Restore ability to extend many element classes from
+        <code>AbstractAccessLogValve</code>. (remm)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Coyote">


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

Reply via email to