[jboss-jira] [JBoss JIRA] Created: (JBRULES-3064) dialect "mvel" flouts generic paramters

Wolfgang Laun (JIRA) jira-events at lists.jboss.org
Sat Jun 4 13:13:59 EDT 2011


dialect "mvel" flouts generic paramters
---------------------------------------

                 Key: JBRULES-3064
                 URL: https://issues.jboss.org/browse/JBRULES-3064
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: drools-compiler (expert)
    Affects Versions: 5.2.0.CR1
            Reporter: Wolfgang Laun
            Assignee: Mark Proctor
            Priority: Blocker
             Fix For: 5.2.0


Given the rule
=============================================
rule x
dialect "mvel"
when
then
    List<Integer> l = new ArrayList<Integer>();
end
=============================================
we get the error
=============================================
Unable to Analyse Expression List x = new ArrayList<Integer>();
[Error: Failed to compileShared: 1 compilation error(s): 
 - (1,23) could not resolve class: ArrayList<Integer>]
[Near : {... List x = new ArrayList<Integer>(); ....}]
                          ^
[Line: 1, Column: 23]



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list