RE: ArrayIndexOutOfBoundsException in ResourceCache.java

2006-08-01 Thread James Courtney
al Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 01, 2006 5:16 PM To: Tomcat Developers List Subject: Re: ArrayIndexOutOfBoundsException in ResourceCache.java James Courtney wrote: > /* new code */ > CacheEntry cacheEntry = null; > CacheEntry[] c

RE: ArrayIndexOutOfBoundsException in ResourceCache.java

2006-08-01 Thread James Courtney
Yep, 5.0.28, sorry:) Jamey -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 01, 2006 4:48 PM To: Tomcat Developers List Subject: Re: ArrayIndexOutOfBoundsException in ResourceCache.java if you can create a test case, great, if not, a

Re: ArrayIndexOutOfBoundsException in ResourceCache.java

2006-08-01 Thread Remy Maucherat
James Courtney wrote: /* new code */ CacheEntry cacheEntry = null; CacheEntry[] currentCache = cache; ... int pos = find(currentCache, name); if ((pos != -1) && (name.equals(currentCache[pos].name))) { cacheEntry = currentCache[pos]; } I think I should have coded it that way. Rémy ---

Re: ArrayIndexOutOfBoundsException in ResourceCache.java

2006-08-01 Thread Filip Hanik - Dev Lists
but we'll see:) Thanks again. Jamey -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 01, 2006 3:21 PM To: Tomcat Developers List Subject: Re: ArrayIndexOutOfBoundsException in ResourceCache.java if you are running it embedded, what

RE: ArrayIndexOutOfBoundsException in ResourceCache.java

2006-08-01 Thread James Courtney
to do and more generally relevant. If I can then I'll try and do it using as simple/minimal a config as possible but we'll see:) Thanks again. Jamey -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 01, 2006 3:21 PM To: Tomcat

Re: ArrayIndexOutOfBoundsException in ResourceCache.java

2006-08-01 Thread Filip Hanik - Dev Lists
if you are running it embedded, what threads are causing the race condition, if it is one of your threads, you can avoid it. otherwise, if you have a test case for us, submit it to bugzilla, and we will be happy to consider it for the next 5.0.x release Filip James Courtney wrote: I'm pretty