[jboss-jira] [JBoss JIRA] (JBRULES-3253) A Declared bean's field's initialization expression is ignored if the type is primitive

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Thu Aug 23 13:54:15 EDT 2012


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

RH Bugzilla Integration updated JBRULES-3253:
---------------------------------------------

    Bugzilla Update: Perform

    
> 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