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

commit 79c69b1c96b3ed74140ab31f3a544da146379a65
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 3a55d83c68..cd6701d5b0 100644
--- a/java/org/apache/jasper/runtime/JspRuntimeLibrary.java
+++ b/java/org/apache/jasper/runtime/JspRuntimeLibrary.java
@@ -56,9 +56,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 fb57350ee2..56f86e52b6 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