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 7d70ea4b01 Add required cast 7d70ea4b01 is described below commit 7d70ea4b01bb269b159241b49c80a4a516cd34e2 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 1daa02fa7d..14fc27aacc 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