[jboss-jira] [JBoss JIRA] (JBRULES-3253) A Declared bean's field's initialization expression is ignored if the type is primitive
Mario Fusco (JIRA)
jira-events at lists.jboss.org
Fri Aug 17 12:11:14 EDT 2012
[ https://issues.jboss.org/browse/JBRULES-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Fusco resolved JBRULES-3253.
----------------------------------
Fix Version/s: 5.4.1.Final
5.5.0.Beta1
Resolution: Done
Fixed by https://github.com/droolsjbpm/drools/commit/9c19f932128499076d39c3f4d27243febc4f06f7
> 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
More information about the jboss-jira
mailing list