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

Jan Boboli (JIRA) jira-events at lists.jboss.org
Fri Apr 11 04:39:55 EDT 2008


"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


"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