This is an automated email from the ASF dual-hosted git repository.
rmaucher 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 5807470c0a Restore extending classes
5807470c0a is described below
commit 5807470c0abf9c15e01bfe885849b629426d8fa2
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 660285e137..ae21eef0aa 100644
--- a/java/org/apache/catalina/valves/AbstractAccessLogValve.java
+++ b/java/org/apache/catalina/valves/AbstractAccessLogValve.java
@@ -922,7 +922,7 @@ public abstract class AbstractAccessLogValve extends
ValveBase implements Access
/**
* Constructs a new ThreadNameElement.
*/
- ThreadNameElement() {
+ public ThreadNameElement() {
}
/**
@@ -1061,7 +1061,7 @@ public abstract class AbstractAccessLogValve extends
ValveBase implements Access
/**
* Constructs a new HostElement.
*/
- HostElement() {
+ public HostElement() {
}
/**
@@ -1110,7 +1110,7 @@ public abstract class AbstractAccessLogValve extends
ValveBase implements Access
/**
* Constructs a new LogicalUserNameElement.
*/
- LogicalUserNameElement() {
+ public LogicalUserNameElement() {
}
/**
@@ -1135,7 +1135,7 @@ public abstract class AbstractAccessLogValve extends
ValveBase implements Access
/**
* Constructs a new ProtocolElement.
*/
- ProtocolElement() {
+ public ProtocolElement() {
}
/**
@@ -1169,7 +1169,7 @@ public abstract class AbstractAccessLogValve extends
ValveBase implements Access
/**
* Constructs a new UserElement.
*/
- UserElement() {
+ public UserElement() {
}
/**
@@ -1245,7 +1245,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);
}
@@ -1283,7 +1283,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) {
@@ -1395,7 +1395,7 @@ public abstract class AbstractAccessLogValve extends
ValveBase implements Access
/**
* Constructs a new RequestElement.
*/
- RequestElement() {
+ public RequestElement() {
}
/**
@@ -1435,7 +1435,7 @@ public abstract class AbstractAccessLogValve extends
ValveBase implements Access
/**
* Constructs a new HttpStatusCodeElement.
*/
- HttpStatusCodeElement() {
+ public HttpStatusCodeElement() {
}
/**
@@ -1584,7 +1584,7 @@ public abstract class AbstractAccessLogValve extends
ValveBase implements Access
/**
* Constructs a new MethodElement.
*/
- MethodElement() {
+ public MethodElement() {
}
/**
@@ -1717,7 +1717,7 @@ public abstract class AbstractAccessLogValve extends
ValveBase implements Access
/**
* Constructs a new FirstByteTimeElement.
*/
- FirstByteTimeElement() {
+ public FirstByteTimeElement() {
}
/**
@@ -1748,7 +1748,7 @@ public abstract class AbstractAccessLogValve extends
ValveBase implements Access
/**
* Constructs a new QueryElement.
*/
- QueryElement() {
+ public QueryElement() {
}
/**
@@ -1801,7 +1801,7 @@ public abstract class AbstractAccessLogValve extends
ValveBase implements Access
/**
* Constructs a new SessionIdElement.
*/
- SessionIdElement() {
+ public SessionIdElement() {
}
/**
@@ -1835,7 +1835,7 @@ public abstract class AbstractAccessLogValve extends
ValveBase implements Access
/**
* Constructs a new RequestURIElement.
*/
- RequestURIElement() {
+ public RequestURIElement() {
}
/**
@@ -1864,7 +1864,7 @@ public abstract class AbstractAccessLogValve extends
ValveBase implements Access
/**
* Constructs a new LocalServerNameElement.
*/
- LocalServerNameElement() {
+ public LocalServerNameElement() {
}
/**
@@ -2105,7 +2105,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 53126157bc..bfb5559b8e 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]