This is an automated email from the ASF dual-hosted git repository.
markt-asf 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 b040d9ae77 Add test case for EL argument mismatch fix
b040d9ae77 is described below
commit b040d9ae7781b3f1bb2ec5319b8b527ef3b0e35f
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]