commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr. <>
Subject Re: [jexl] size method unit test failing
Date Tue, 09 Sep 2003 11:58:52 GMT
I guess we were going to figure out if we want to add the artificial  
notion of the length field, or just ask people to use size().  'length'  
is really weird, as it doesn't really exist as a field, and only  
applies to arrays.

Why confuse the syntax with an additional way to get size?


On Tuesday, September 9, 2003, at 06:40 AM, Mark H. Wilkinson wrote:

> On Sun, 2003-09-07 at 03:28, Tim O'Brien wrote:
>> JexlTest line 443: "assertExpression(jc, "array.length", new  
>> Integer(5));"
>> This is failing because (from what I'm seeing), length isn't given  
>> any special
>> treatment in Parser.jjt.
>> Any ideas?
> I proposed the attached fix a few months back, but geir wanted to
> discuss other possible ways of implementing the length function so he
> didn't apply it. There's been no progress since then though.
> -Mark.
> <array- 
> length.patch>---------------------------------------------------------- 
> -----------
> To unsubscribe, e-mail:
> For additional commands, e-mail:
Geir Magnusson Jr                                   203-956-2604(w)
Adeptra, Inc.                                       203-434-2093(m)                                   203-247-1713(m)

View raw message