[jboss-jira] [JBoss JIRA] (DROOLS-1013) Error jitting a compareTo constraint
Michael Biarnes Kiefer (JIRA)
issues at jboss.org
Wed Jan 20 05:03:01 EST 2016
[ https://issues.jboss.org/browse/DROOLS-1013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Biarnes Kiefer updated DROOLS-1013:
-------------------------------------------
Fix Version/s: 6.4.0.CR1
(was: 6.4.0.Beta1)
> Error jitting a compareTo constraint
> ------------------------------------
>
> Key: DROOLS-1013
> URL: https://issues.jboss.org/browse/DROOLS-1013
> Project: Drools
> Issue Type: Bug
> Reporter: Mario Fusco
> Assignee: Mario Fusco
> Fix For: 6.4.0.CR1
>
>
> When the implementation of the Comparable interface is not directly declared by a Class, but the Class implements another interface that transitively extends Comparable the jitting of a constraint doing a compareTo on that class fails with the following exception:
> {code}
> Exception in thread "Thread-0" java.lang.NoSuchMethodError: java.time.LocalDateTime.compareTo(Ljava/time/LocalDateTimeI
> at ConditionEvaluator8566b06b2be943a7ba50f1700fa7b033.evaluate(Unknown Source)
> at org.drools.core.rule.constraint.MvelConstraint.evaluate(MvelConstraint.java:248)
> at org.drools.core.rule.constraint.MvelConstraint.isAllowed(MvelConstraint.java:204)
> at org.drools.core.reteoo.AlphaNode.assertObject(AlphaNode.java:141)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list