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

Rahul Singh (JIRA) issues at jboss.org
Tue Sep 30 03:46:03 EDT 2014


    [ https://issues.jboss.org/browse/DROOLS-585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13007147#comment-13007147 ] 

Rahul Singh commented on DROOLS-585:
------------------------------------

Hi Mario

can you please let me know in which release this fix is going and when is the release planned.

Thanks

> 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