[jboss-jira] [JBoss JIRA] (DROOLS-585) inconsistent behavior of & bitwise operator
Mario Fusco (JIRA)
issues at jboss.org
Wed Sep 24 08:01:02 EDT 2014
[ https://issues.jboss.org/browse/DROOLS-585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Fusco resolved DROOLS-585.
--------------------------------
Labels: backport-to-6.0.x (was: )
Fix Version/s: 6.2.0.CR1
Resolution: Done
Fixed by https://github.com/droolsjbpm/drools/commit/471b2b687
> inconsistent behavior of & bitwise operator
> -------------------------------------------
>
> Key: DROOLS-585
> URL: https://issues.jboss.org/browse/DROOLS-585
> Project: Drools
> Issue Type: Bug
> Affects Versions: 5.6.0.Final
> Reporter: Rahul Singh
> Assignee: Mario Fusco
> Labels: backport-to-6.0.x
> Fix For: 6.2.0.CR1
>
>
> inconsistent behavior of & bitwise operator
> after writing a rule given below
> no-loop
> when
> f: Person(
> ((101 & age) != 0)
> )
> then
> f.setFound(true);
> end
> after calling this several times say 100 it gives inconsistent result. Similar behavior is observed if we place bitwise '&' with bitwise '|'
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the jboss-jira
mailing list