You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ji...@apache.org on 2004/04/05 17:55:43 UTC

[jira] Resolved: (JS1-453) Concurrent modification possible in FileCache

Message:

   The following issue has been resolved as FIXED.

   Resolver: Jeremy Ford
       Date: Mon, 5 Apr 2004 8:53 AM

The fix has been applied.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JS1-453

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JS1-453
    Summary: Concurrent modification possible in FileCache
       Type: Bug

     Status: Resolved
   Priority: Major
 Resolution: FIXED

    Project: Jetspeed
 Components: 
             Cache
   Fix Fors:
             1.5
   Versions:
             1.5

   Assignee: 
   Reporter: Jeremy Ford

    Created: Mon, 5 Apr 2004 8:52 AM
    Updated: Mon, 5 Apr 2004 8:53 AM
Environment: All

Description:
The file cache returns a collection of values from its internal map.  At the same time, there is a thread that iterates over these values checking for updates.  If the first thread attempts to remove a value from the cache, this can cause a ConcurrentModificationException.  The background thread needs to be synchronized to prevent this.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org