[jboss-jira] [JBoss JIRA] Commented: (JBRULES-3064) dialect "mvel" flouts generic parameters
Mark Proctor (JIRA)
jira-events at lists.jboss.org
Mon Aug 15 07:01:02 EDT 2011
[ https://issues.jboss.org/browse/JBRULES-3064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621043#comment-12621043 ]
Mark Proctor commented on JBRULES-3064:
---------------------------------------
This is an MVEL feature request, you should open a jira there to track this.
http://mvel.codehaus.org/
I don't believe Mike plans to support angle brackets for generics until MVEL 3.0 :(
> 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.CR1
>
>
> 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