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 be7e5822cd Fix security classload
be7e5822cd is described below

commit be7e5822cd23f238761b40389fe3081db1f8c9ff
Author: remm <[email protected]>
AuthorDate: Tue Jun 30 15:51:44 2026 +0200

    Fix security classload
    
    BZ70135, due to the oddity of BZ64794
---
 java/org/apache/jasper/runtime/JspRuntimeLibrary.java | 4 ++--
 webapps/docs/changelog.xml                            | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/java/org/apache/jasper/runtime/JspRuntimeLibrary.java 
b/java/org/apache/jasper/runtime/JspRuntimeLibrary.java
index e6d82dfd4a..47953254c4 100644
--- a/java/org/apache/jasper/runtime/JspRuntimeLibrary.java
+++ b/java/org/apache/jasper/runtime/JspRuntimeLibrary.java
@@ -57,9 +57,9 @@ public class JspRuntimeLibrary {
 
 
     /**
-     * Private constructor to prevent instantiation.
+     * Public constructor to allow security classload.
      */
-    private JspRuntimeLibrary() {
+    public JspRuntimeLibrary() {
     }
 
     static {
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 071cb87fe8..3e541b0cb4 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -168,6 +168,9 @@
         <code>doEndTag()</code> were incorrectly re-used. This fix prevents 
tags
         from being re-used if such an exception occurs. (markt)
       </fix>
+      <fix>
+        <bug>70135</bug>: Fix security classload regression. (remm)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="WebSocket">


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

Reply via email to