[jboss-jira] [JBoss JIRA] (DROOLS-585) inconsistent behavior of & bitwise operator
Rahul Singh (JIRA)
issues at jboss.org
Fri Sep 5 02:33:59 EDT 2014
[ https://issues.jboss.org/browse/DROOLS-585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rahul Singh updated DROOLS-585:
-------------------------------
Description:
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 '|'
was:
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 '|'
> 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 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