[jboss-jira] [JBoss JIRA] Updated: (JBRULES-1554) "not in" used with "or" is not thread safe
Jan Boboli (JIRA)
jira-events at lists.jboss.org
Fri Apr 11 05:56:54 EDT 2008
[ http://jira.jboss.com/jira/browse/JBRULES-1554?page=all ]
Jan Boboli updated JBRULES-1554:
--------------------------------
Attachment: project2.zip
UDPATE:
Actually this is not a problem with "not in". It's a problem with "or", when one of the classes inside :"or" is connected with another class outside "or".
I've attached an updated project.
Following "when" also reproduces the problem:
when
Aaa(
)
Bbb(
$str : str
)
(
Ccc(
str == $str
)
)
or
(
Ddd(
)
)
then
> "not in" used with "or" is not thread safe
> ------------------------------------------
>
> Key: JBRULES-1554
> URL: http://jira.jboss.com/jira/browse/JBRULES-1554
> Project: JBoss Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Reteoo
> Affects Versions: 4.0.5
> Reporter: Jan Boboli
> Assigned To: Mark Proctor
> Priority: Blocker
> Attachments: ll.zip, project2.zip
>
>
> "not in" used with "or" is not thread safe.
> following construct causes ClassCastExeption when executed in parallel by different threads :
> when:
> $validateOrderIn : ValidateOrderIn(
> )
> Sim(
> $sim : sim
> )
> (
> __sims(
> sim == $sim,
> $status : status not in ( "n", "o", "p")
> )
> )
> or
> (
> __sims(
> sim == $sim,
> $status : status not in ("r", "l", "m" )
> )
> )
> then ...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list