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

Edson Tirelli (JIRA) jira-events at lists.jboss.org
Wed Apr 8 21:21:22 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBRULES-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edson Tirelli closed JBRULES-1554.
----------------------------------

    Resolution: Done


> "not in" used with "or" is not thread safe
> ------------------------------------------
>
>                 Key: JBRULES-1554
>                 URL: https://jira.jboss.org/jira/browse/JBRULES-1554
>             Project: JBoss Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-core  (expert)
>    Affects Versions: 4.0.5
>            Reporter: Jan Boboli
>            Assignee: Edson Tirelli
>             Fix For: 5.0.0.GA
>
>         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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list