Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
5.1.2
-
None
Description
There are two singleton classes that have a instance field type of HashMap for cache.
In JPAUserManagerImpl:
// cached mapping of userNames -> userIds private Map<String, String> userNameToIdMap = new HashMap<String, String>();
In JPAWeblogEntryManagerImpl:
// cached mapping of entryAnchors -> entryIds private Map<String, String> entryAnchorToIdMap = new HashMap<String, String>();
HashMap s should not be used as the above because it's not thread safe.
Attachments
Attachments
Issue Links
- links to