This is an automated email from the ASF dual-hosted git repository. markt 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 870965e Backport requires a cast 870965e is described below commit 870965e28e80838fe81451fd919c486858a2ef48 Author: Mark Thomas <ma...@apache.org> AuthorDate: Fri Jul 16 15:10:48 2021 +0100 Backport requires a cast --- test/org/apache/el/TestMethodExpressionImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/org/apache/el/TestMethodExpressionImpl.java b/test/org/apache/el/TestMethodExpressionImpl.java index 0473174..e8c4abf 100644 --- a/test/org/apache/el/TestMethodExpressionImpl.java +++ b/test/org/apache/el/TestMethodExpressionImpl.java @@ -758,7 +758,7 @@ public class TestMethodExpressionImpl { bean.setName("xyz"); elp.defineBean("bean2", bean); elp.defineBean("bean1", new TesterBeanI()); - String elResult = elp.eval("bean1.echo(bean2)"); + String elResult = (String) elp.eval("bean1.echo(bean2)"); Assert.assertEquals("No varargs: xyz", elResult); } } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org