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
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
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
---
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
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
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