[jboss-jira] [JBoss JIRA] (DROOLS-585) inconsistent behavior of & bitwise operator
Mario Fusco (JIRA)
issues at jboss.org
Wed Sep 24 07:59:03 EDT 2014
[ https://issues.jboss.org/browse/DROOLS-585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Fusco reassigned DROOLS-585:
----------------------------------
Assignee: Mario Fusco (was: Mark Proctor)
> 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
>
> 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