List Info

Thread: ArrayIndexOutOfBoundsException in CookieSpecBase




ArrayIndexOutOfBoundsException in CookieSpecBase
user name
2006-11-04 16:07:19
Hi all,

	I think I am suffering from a bug in Sun's JIT compiler. I
still need to do some research,
but I think this is the culprit (http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=498
7749). Once
I verify that all of my past failures were with a 1.4.2
*and* with -server, I'll adjust my testing
farm accordingly.

thanks for the help.
-tim

Oleg Kalnichevski wrote:
> On Sat, 2006-11-04 at 10:25 +0100, Ortwin Glück wrote:
>> Oleg Kalnichevski wrote:
>>> Tim,
>>>
>>> I do not see how possibly HttpClient could be
causing LinkedList#toArray
>>> to throw an ArrayIndexOutOfBoundsException
exception in this case. 
>>>
>>> In this particular case I am more inclined to
suspect a bug in Sun's
>>> Java Runtime Library. If you knew what cookies
HttpClient was trying to
>>> match against which target host, I might be
able to reproduce the
>>> problem locally.
>>>
>>> Oleg
>> It could be a concurrency problem. Call toArray
while modifiying the
>> list and it may happen?
>>
>> Just an idea
>>
> 
> Odi,
> 
> A race condition would have been the most likely
explanation, but the
> LinkedList instance in question is method local
> 
> Oleg
> 
> 
>> Odi
>>
>>
------------------------------------------------------------
---------
>> To unsubscribe, e-mail:
httpclient-dev-unsubscribejakarta.apache.org
>> For additional commands, e-mail:
httpclient-dev-helpjakarta.apache.org
>>
>>
> 
> 
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: httpclient-dev-unsubscribejakarta.apache.org
> For additional commands, e-mail:
httpclient-dev-helpjakarta.apache.org
> 

------------------------------------------------------------
---------
To unsubscribe, e-mail: httpclient-dev-unsubscribejakarta.apache.org
For additional commands, e-mail: httpclient-dev-helpjakarta.apache.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )