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

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit d375cd808e069c684e35c2d432425c0e22caf78e
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Apr 17 08:41:48 2025 +0100

    Fix broken tests
---
 test/org/apache/jasper/runtime/TestJspRuntimeLibrary.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/org/apache/jasper/runtime/TestJspRuntimeLibrary.java 
b/test/org/apache/jasper/runtime/TestJspRuntimeLibrary.java
index d7451de189..5af4b52514 100644
--- a/test/org/apache/jasper/runtime/TestJspRuntimeLibrary.java
+++ b/test/org/apache/jasper/runtime/TestJspRuntimeLibrary.java
@@ -16,6 +16,7 @@
  */
 package org.apache.jasper.runtime;
 
+import jakarta.el.ELManager;
 import jakarta.servlet.jsp.PageContext;
 import jakarta.servlet.jsp.TesterPageContextWithAttributes;
 
@@ -148,7 +149,7 @@ public class TestJspRuntimeLibrary extends TomcatBaseTest {
 
     @Before
     public void setupTestVars() {
-        pageContext = new TesterPageContextWithAttributes();
+        pageContext = new TesterPageContextWithAttributes((new 
ELManager()).getELContext());
     }
 
     @Test


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to