[jboss-jira] [JBoss JIRA] (DROOLS-28) Dynamic mvel constraints shouldn't be combined
Mario Fusco (JIRA)
jira-events at lists.jboss.org
Wed Feb 6 06:43:51 EST 2013
[ https://issues.jboss.org/browse/DROOLS-28?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Fusco resolved DROOLS-28.
-------------------------------
Resolution: Done
> Dynamic mvel constraints shouldn't be combined
> ----------------------------------------------
>
> Key: DROOLS-28
> URL: https://issues.jboss.org/browse/DROOLS-28
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Mario Fusco
> Assignee: Mario Fusco
>
> Having a pattern like the following:
> StockTick( company != $a.company, this before[5,8] $a.time || after[20,22] $a )
> the PatternBuilder combines the 2 constraints in a single one. This is wrong because the 2nd constraint is dynamic (it uses custom operators) so it cannot be jit-optimized. Even worse the resulting combined constraint is flagged as non dynamic so the engine tries to jit it anyway, generating an excption during the jitting process.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list