This is an automated email from the ASF dual-hosted git repository.
rmaucher pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new 2c1a11914d Restore extending classes
2c1a11914d is described below
commit 2c1a11914dddff10f3f80144b4baacca960612db
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 e1bd7b0e93..3468c82bf9 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) {
@@ -1391,7 +1391,7 @@ public abstract class AbstractAccessLogValve extends
ValveBase implements Access
/**
* Constructs a new RequestElement.
*/
- RequestElement() {
+ public RequestElement() {
}
/**
@@ -1431,7 +1431,7 @@ public abstract class AbstractAccessLogValve extends
ValveBase implements Access
/**
* Constructs a new HttpStatusCodeElement.
*/
- HttpStatusCodeElement() {
+ public HttpStatusCodeElement() {
}
/**
@@ -1580,7 +1580,7 @@ public abstract class AbstractAccessLogValve extends
ValveBase implements Access
/**
* Constructs a new MethodElement.
*/
- MethodElement() {
+ public MethodElement() {
}
/**
@@ -1713,7 +1713,7 @@ public abstract class AbstractAccessLogValve extends
ValveBase implements Access
/**
* Constructs a new FirstByteTimeElement.
*/
- FirstByteTimeElement() {
+ public FirstByteTimeElement() {
}
/**
@@ -1744,7 +1744,7 @@ public abstract class AbstractAccessLogValve extends
ValveBase implements Access
/**
* Constructs a new QueryElement.
*/
- QueryElement() {
+ public QueryElement() {
}
/**
@@ -1797,7 +1797,7 @@ public abstract class AbstractAccessLogValve extends
ValveBase implements Access
/**
* Constructs a new SessionIdElement.
*/
- SessionIdElement() {
+ public SessionIdElement() {
}
/**
@@ -1831,7 +1831,7 @@ public abstract class AbstractAccessLogValve extends
ValveBase implements Access
/**
* Constructs a new RequestURIElement.
*/
- RequestURIElement() {
+ public RequestURIElement() {
}
/**
@@ -1860,7 +1860,7 @@ public abstract class AbstractAccessLogValve extends
ValveBase implements Access
/**
* Constructs a new LocalServerNameElement.
*/
- LocalServerNameElement() {
+ public LocalServerNameElement() {
}
/**
@@ -2101,7 +2101,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 cc2ab783fb..54ecae3d53 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]