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

Davide Sottara (Created) (JIRA) jira-events at lists.jboss.org
Sun Oct 16 11:51:45 EDT 2011


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


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