[jboss-jira] [JBoss JIRA] (DROOLS-585) inconsistent behavior of & bitwise operator

Rahul Singh (JIRA) issues at jboss.org
Fri Aug 29 01:46:59 EDT 2014


Rahul Singh created DROOLS-585:
----------------------------------

             Summary: inconsistent behavior of & bitwise operator
                 Key: DROOLS-585
                 URL: https://issues.jboss.org/browse/DROOLS-585
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 5.6.0.Final
            Reporter: Rahul Singh
            Assignee: Mark Proctor


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 in consistent 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