https://bz.apache.org/bugzilla/show_bug.cgi?id=57855
--- Comment #4 from Mark Thomas <ma...@apache.org> --- (In reply to Konstantin Kolinko from comment #3) > 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(). ACK. I'll add a test case for that. > 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" ? I'll like to be able to differentiate between a zero length array and 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