[jboss-jira] [JBoss JIRA] Updated: (JBRULES-1554) "not in" used with "or" is not thread safe

Mark Proctor (JIRA) jira-events at lists.jboss.org
Fri Apr 25 20:56:09 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBRULES-1554?page=all ]

Mark Proctor updated JBRULES-1554:
----------------------------------

    Assignee: Edson Tirelli  (was: Mark Proctor)
    Priority: Major  (was: Blocker)

> "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: Edson Tirelli
>         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