Does Drools DRL file support Java generic?  I have the following in THEN part
of the DRL rule file:

import java.util.*;

.....

Then 

List<String> stringList = new ArrayList<String>();  // error could not
resolve class ArrayList<String>

But If I do:

List stringList = new ArrayList();  // this works fine!


thx!





--
View this message in context: 
http://drools.46999.n3.nabble.com/Then-part-of-DRL-file-can-not-use-Java-Generic-tp4027465.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to