tkobayas commented on issue #6249: URL: https://github.com/apache/incubator-kie-drools/issues/6249#issuecomment-2652701101
In jitting, `ASMConditionEvaluatorJitter` generates `bigDecimal1.divide(bigDecimal2)` for `/` operation, which causes this ArithmeticException. https://github.com/apache/incubator-kie-drools/blob/main/drools-mvel/src/main/java/org/drools/mvel/ASMConditionEvaluatorJitter.java#L885 Note: Mvel (= before jitting) and executable-model use `bigDecimal1.divide(bigDecimal2, MathContext.DECIMAL128)` for the calculation, so we should align with it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
