-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Affects Version/s: None
-
Component/s: Administration - Fields
-
None
The CachedGenericConfigManager contains a non thread safe map.
It contains the code:
public void refreshCache()
{
cache = MultiKeyMap.decorate(new LRUMap(250));
Collections.synchronizedMap(cache);
}
But should be:
public void refreshCache()
{
cache = MultiKeyMap.decorate(new LRUMap(250));
cache = Collections.synchronizedMap(cache);
}
There could be a few more little issues as well, such as when refreshCache is called at the same time as retrieve...