[
https://issues.jboss.org/browse/JBRULES-3253?page=com.atlassian.jira.plug...
]
RH Bugzilla Integration commented on JBRULES-3253:
--------------------------------------------------
Edson Tirelli <etirelli(a)redhat.com> made a comment on [bug
851300|https://bugzilla.redhat.com/show_bug.cgi?id=851300]
Description of problem:
See related JIRA.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
A Declared bean's field's initialization expression is
ignored if the type is primitive
---------------------------------------------------------------------------------------
Key: JBRULES-3253
URL:
https://issues.jboss.org/browse/JBRULES-3253
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-compiler
Affects Versions: 5.3.0.CR1
Reporter: Davide Sottara
Assignee: Davide Sottara
Fix For: 5.4.1.Final, 5.5.0.Beta1
It should be possible to use valid MVEL expressions to initialize the fields of declared
beans (using the default constructor).
declare Bean
field : int = 3*4
end
If the field type is primitive (int, double, ...) or boxed (Integer, Boolean, Float,
...), the expression is ignored
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira