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

Geoffrey De Smet (JIRA) jira-events at lists.jboss.org
Sun Sep 25 04:02:53 EDT 2011


     [ https://issues.jboss.org/browse/JBRULES-3064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Geoffrey De Smet updated JBRULES-3064:
--------------------------------------

    Fix Version/s: 5.3.0.Final
                       (was: 5.3.0.CR1)


> dialect "mvel" flouts generic parameters
> ----------------------------------------
>
>                 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.3.0.Final
>
>
> 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