This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 11f817aa2a Add test case for EL argument mismatch fix
11f817aa2a is described below
commit 11f817aa2acbef407122a9da16d1b0b3a028245a
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 83f21e2b27..7761f8baf0 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]