https://bz.apache.org/bugzilla/show_bug.cgi?id=57855

Konstantin Kolinko <knst.koli...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #3 from Konstantin Kolinko <knst.koli...@gmail.com> ---
Reviewing r1676234

Apparently "null" src is equivalent to "no argument" or a zero-length array.
[1]

1) When null is passed it should support both varargs and non-varargs cases.

E.g. calling Foo.main().

>From the code of AstValue.hava I think that "paramCount > 0 && src == null"
condition fails when the only argument is varargs and src is null.

2) It looks that the message in AstValue.java prints "The method [{0}] was
called with [null] parameters" when null is passed as src. Wouldn't it better
to print "0" instead of "null" ?




[1]
http://docs.oracle.com/javaee/7/api/javax/el/MethodExpression.html#invoke%28javax.el.ELContext,%20java.lang.Object[]%29

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to