This is an automated email from the ASF dual-hosted git repository.
markt-asf 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 914a0aef2d Add test case for EL argument mismatch fix
914a0aef2d is described below
commit 914a0aef2d85d4496e11fb983e4aac4e07e1109f
Author: Mark Thomas <[email protected]>
AuthorDate: Wed May 20 14:29:01 2026 +0100
Add test case for EL argument mismatch fix
---
test/org/apache/el/parser/TestAstLambdaExpression.java | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/test/org/apache/el/parser/TestAstLambdaExpression.java
b/test/org/apache/el/parser/TestAstLambdaExpression.java
index ace3d5df15..75a02f4e02 100644
--- a/test/org/apache/el/parser/TestAstLambdaExpression.java
+++ b/test/org/apache/el/parser/TestAstLambdaExpression.java
@@ -156,6 +156,14 @@ public class TestAstLambdaExpression {
}
+ @Test
+ public void testNested08() {
+ ELProcessor processor = new ELProcessor();
+ Object result = processor.getValue("(x -> (x -> x)(null))(42)",
Integer.class);
+ Assert.assertNull(result);
+ }
+
+
@Test
public void testLambdaAsFunction01() {
ELProcessor processor = new ELProcessor();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]