Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 4.0.BETA, EE-4.0.0.GA
-
Component/s: Push Library
-
Labels:None
-
Environment:ICEpush
Description
A ConcurrentModificationException is thrown for concurrent access to the pendingNotificationSet in LocalPushGroupManager.
There is no ConcurrentSet or ConcurrentHashSet. As of JDK 1.6 there is a static method in the Collections class <E> Set<E> newSetFromMap(Map<e, Boolean> map) that can be used to create a Set backed by a ConcurrentMap. But ICEpush needs to be JDK 1.5 compatible. Therefor, a ReentrantLock is used for this Set. Marking this one as FIXED.