[jboss-jira] [JBoss JIRA] (DROOLS-5284) MVELTest.testTypeCoercionLongDivByInt fails with IBM JDK 8
Toshiya Kobayashi (Jira)
issues at jboss.org
Sun May 31 22:23:00 EDT 2020
[ https://issues.redhat.com/browse/DROOLS-5284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14084307#comment-14084307 ]
Toshiya Kobayashi edited comment on DROOLS-5284 at 5/31/20 10:22 PM:
---------------------------------------------------------------------
Fixed by https://github.com/mvel/mvel/pull/233/commits/d9d0a93a0a25514b6e777ebb9b30f20491cd4be0
Drools will need to consume mvel 2.4.8.Final or later.
-> Done with RHDM-1339 : https://github.com/kiegroup/droolsjbpm-build-bootstrap/commit/ddd2fc364177c91d185d7ede17be750cddc183d6
was (Author: tkobayashi):
Fixed by https://github.com/mvel/mvel/pull/233/commits/d9d0a93a0a25514b6e777ebb9b30f20491cd4be0
Drools will need to consume mvel 2.4.8.Final or later.
> MVELTest.testTypeCoercionLongDivByInt fails with IBM JDK 8
> ----------------------------------------------------------
>
> Key: DROOLS-5284
> URL: https://issues.redhat.com/browse/DROOLS-5284
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.36.0.Final
> Reporter: Toshiya Kobayashi
> Assignee: Toshiya Kobayashi
> Priority: Major
>
> MVELTest.testTypeCoercionLongDivByInt fails with IBM JDK 8
> {noformat}
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.97 s <<< FAILURE! - in org.drools.compiler.integrationtests.MVELTest
> [ERROR] testTypeCoercionLongDivByInt(org.drools.compiler.integrationtests.MVELTest) Time elapsed: 0.962 s <<< FAILURE!
> java.lang.AssertionError: expected:<7.350000> but was:<7>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:834)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:144)
> at org.drools.compiler.integrationtests.MVELTest.testTypeCoercionLongDivByInt(MVELTest.java:1150)
> ...
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Failures:
> [ERROR] MVELTest.testTypeCoercionLongDivByInt:1150 expected:<7.350000> but was:<7>
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list