]
Toshiya Kobayashi edited comment on DROOLS-5284 at 5/31/20 10:22 PM:
---------------------------------------------------------------------
Fixed by
Drools will need to consume mvel 2.4.8.Final or later.
-> Done with RHDM-1339 :
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}