]
Edson Tirelli resolved JBRULES-3064.
------------------------------------
Resolution: Rejected
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: Edson Tirelli
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.
If you think it was sent incorrectly, please contact your JIRA administrators: