-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.8
-
Fix Version/s: 5.6.0-HF31, 5.8.0-HF07, 5.9.2
-
Component/s: Automation
-
Tags:
Some MVEL expressions take a very a long time to be executed, it seems expressions with nested substatements are parsed in a time exponential with respect to the number of substatements, for instance:
(A && (B && (C && (D && (E && F)))))
or
(A ? B : (C ? D : (E ? F : (G ? H : (I ? J : K)))))
A patch has been submitted at http://jira.codehaus.org/browse/MVEL-301