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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to