tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan <xhh...@gmail.com>
Subject Re: svn commit: r937975 - /tomcat/trunk/java/org/apache/catalina/core/StandardContext.java
Date Wed, 28 Apr 2010 02:29:41 GMT
I still get the java.lang.ArrayIndexOutOfBoundsException, i think that it
should be

filterMapInsertPoint + 1,

--->
System.arraycopy(filterMaps, filterMapInsertPoint, results,
                    filterMapInsertPoint + 1,
                    filterMaps.length - filterMapInsertPoint);
<---

2010/4/26 Giulio Quaresima <giulio.quaresima@unipg.it>

> You need more coffee ;)
> 100 - (10 + 1) is algebraically equivalent to 100 - 10 - 1
>
>
> Tim Funk wrote:
>
>> <slap forehead='mine'>Got it</slap>
>>
>> thanks
>>
>> -Tim
>>
>> On 4/26/2010 6:36 AM, Mark Thomas wrote:
>>
>>> On 26/04/2010 11:33, Tim Funk wrote:
>>>
>>>> I'm feeling stupid at the moment. (Or need more coffee) But why do the
>>>> parenthesis make a difference? (Since only addition/subtraction is done
>>>> and no multiplication - I can't tell why this fixes it)
>>>>
>>>
>>> 100 - 10 + 1 = 91
>>> 100 - (10 + 1) = 89
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: dev-help@tomcat.apache.org
>>
>>
>>
>>
> --
> *************************************************
> * Dott. Giulio Quaresima (Ph.D)                 *
> *                                               *
> * Area Reti e Servizi Web                       *
> * Ripartizione Servizi Informatici e Statistici *
> * Università degli Studi di Perugia             *
> * P.zza Università 1 - 06081 Perugia (PG)       *
> * Tel. 075 585 5183 - 075 585 5172              *
> * Fax  075 585 5172                             *
> * e-mail giulio.quaresima@unipg.it              *
> *************************************************
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>


-- 
Ivan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message