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

remm 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 3ef56e9976 Restore deferAccept as a public method for JMX
3ef56e9976 is described below

commit 3ef56e99764c7d1906b878c48458bea939fe8e23
Author: remm <[email protected]>
AuthorDate: Thu Oct 30 10:35:22 2025 +0100

    Restore deferAccept as a public method for JMX
    
    It is only supposed to be removed in Tomcat 11.
---
 java/org/apache/tomcat/util/net/AbstractEndpoint.java | 2 +-
 webapps/docs/changelog.xml                            | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/util/net/AbstractEndpoint.java 
b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
index 4499e7c7e3..1e6228edce 100644
--- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java
+++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
@@ -1018,7 +1018,7 @@ public abstract class AbstractEndpoint<S, U> {
      * @deprecated This code will be removed in Tomcat 11 onwards
      */
     @Deprecated
-    protected boolean getDeferAccept() {
+    public boolean getDeferAccept() {
         return false;
     }
 
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 092185624d..94182827b7 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -119,6 +119,10 @@
       <fix>
         Graceful failure for OCSP on BoringSSL in the FFM code. (remm)
       </fix>
+      <fix>
+        Fix use of <code>deferAccept</code> attribute in JMX, since it is
+        normally only removed in Tomcat 11. (remm)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Jasper">


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

Reply via email to