[jboss-jira] [JBoss JIRA] (DROOLS-777) Variable length argument lists lose arguments in MVEL

Myroslava Dzikovska (JIRA) issues at jboss.org
Thu Apr 30 11:36:45 EDT 2015


Myroslava Dzikovska created DROOLS-777:
------------------------------------------

             Summary: Variable length argument lists lose arguments in MVEL
                 Key: DROOLS-777
                 URL: https://issues.jboss.org/browse/DROOLS-777
             Project: Drools
          Issue Type: Bug
          Components: core engine
    Affects Versions: 6.1.0.Final
         Environment: RHEL 6, OpenJDK Runtime Environment (rhel-2.5.5.1.el6_6-x86_64 u79-b14)

            Reporter: Myroslava Dzikovska
            Assignee: Mario Fusco


When I use a method with variable number of arguments (e.g., String... args) in MVEL, the first one is passed on, and the others are discarded, leading to confusing and difficult to debug bugs. It should either support this, or report a compilation error.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list