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

markt 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 030fed371b Fix backport
030fed371b is described below

commit 030fed371bcab81462627c12328ef05e264684f6
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Mar 21 17:10:42 2023 +0000

    Fix backport
---
 test/org/apache/el/TestValueExpressionImpl.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/test/org/apache/el/TestValueExpressionImpl.java 
b/test/org/apache/el/TestValueExpressionImpl.java
index 6eb447479c..a56f569db5 100644
--- a/test/org/apache/el/TestValueExpressionImpl.java
+++ b/test/org/apache/el/TestValueExpressionImpl.java
@@ -247,7 +247,7 @@ public class TestValueExpressionImpl {
     @Test
     public void testOptional01() {
         ExpressionFactory factory = ExpressionFactory.newInstance();
-        ELContext context = new ELContextImpl();
+        ELContext context = new ELContextImpl(factory);
 
         final String data = "some data";
 
@@ -271,7 +271,7 @@ public class TestValueExpressionImpl {
     @Test
     public void testOptional02() {
         ExpressionFactory factory = ExpressionFactory.newInstance();
-        ELContext context = new ELContextImpl();
+        ELContext context = new ELContextImpl(factory);
 
         TesterBeanJ beanJ = new TesterBeanJ();
 
@@ -290,7 +290,7 @@ public class TestValueExpressionImpl {
     @Test
     public void testOptional03() {
         ExpressionFactory factory = ExpressionFactory.newInstance();
-        ELContext context = new ELContextImpl();
+        ELContext context = new ELContextImpl(factory);
 
         final String data = "some data";
 
@@ -312,7 +312,7 @@ public class TestValueExpressionImpl {
     @Test
     public void testOptional04() {
         ExpressionFactory factory = ExpressionFactory.newInstance();
-        ELContext context = new ELContextImpl();
+        ELContext context = new ELContextImpl(factory);
 
         TesterBeanJ beanJ = new TesterBeanJ();
 


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

Reply via email to