[rules-users] drools parser loops infinitely.

Godmar Back godmar at gmail.com
Tue Feb 19 12:59:55 EST 2008


Hi,

here's a simple test for which Drools 4.0.4 w/ MVEL 1.4 loops infinitely:

----
package tests;

import java.util.Map;
import java.io.File;

dialect "mvel"

rule "Rule #1"
when
    p : Map (this["path"] matches File.separator);
then
    System.out.println("cgi path " + p.path);
end
----

It appears to be related to the use of static String variable on the
rhs of the match clause.

 - Godmar



More information about the rules-users mailing list