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

Mario Fusco (JIRA) issues at jboss.org
Thu May 14 13:10:19 EDT 2015


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

Mario Fusco resolved DROOLS-777.
--------------------------------
    Fix Version/s: 6.3.0.Beta1
       Resolution: Done


Fixed by https://github.com/mvel/mvel/commit/2d914fb1f13c1ec337cbc31590dfcdf651b67d5f

> 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
>             Fix For: 6.3.0.Beta1
>
>
> 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