This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 10.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.0.x by this push: new 501927195e Add required cast 501927195e is described below commit 501927195e1576b56c02152a622329499a0ce819 Author: Mark Thomas <ma...@apache.org> AuthorDate: Wed Aug 31 20:54:17 2022 +0100 Add required cast --- test/org/apache/el/lang/TestELArithmetic.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/org/apache/el/lang/TestELArithmetic.java b/test/org/apache/el/lang/TestELArithmetic.java index afefa71aed..2793424e82 100644 --- a/test/org/apache/el/lang/TestELArithmetic.java +++ b/test/org/apache/el/lang/TestELArithmetic.java @@ -98,7 +98,7 @@ public class TestELArithmetic { public void testMod03() { ELProcessor processor = new ELProcessor(); // Large so BigInteger rather than Long is used internally - BigInteger result = processor.eval("1 % -9999999999999999999"); + BigInteger result = (BigInteger) processor.eval("1 % -9999999999999999999"); Assert.assertEquals(BigInteger.valueOf(1), result); } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org