]
Mark Proctor closed JBRULES-857.
--------------------------------
Fix Version/s: 4.0.0.MR3
Resolution: Done
salience comparison should not rely on subtraction
--------------------------------------------------
Key: JBRULES-857
URL:
http://jira.jboss.com/jira/browse/JBRULES-857
Project: JBoss Rules
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Conflict Resolution
Affects Versions: 3.0.6
Environment: WXP
Reporter: Tom?? Z?lusk?
Assigned To: Mark Proctor
Priority: Minor
Fix For: 4.0.0.MR3
Original Estimate: 2 minutes
Remaining Estimate: 2 minutes
In class
http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/drools-core/src/main/...
,
method compare, saliences should be compared by expression using operators
<,>,==,?,: rather than subtraction.
Setting salience as Integer.MIN_VALUE led to nondeterministic behavior since overflow
occured.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: