EHC ❯ rmiUrlsProcessingQueue is not thread-safe in MulticastKeepAliveHeartBeatReceiver
-
Bug
-
Status: Open
-
2 Major
-
Resolution:
-
-
-
interfaces
-
Reporter: asingh
-
December 02, 2009
-
0
-
Watchers: 2
-
February 13, 2013
-
Description
See method processRmiUrls(final String rmiUrls) in MulticastKeepaliveHeartBeatReceiver. Even though rmiUrlsProcessingQueue is created using Collections.synchronizedSet(new HashSet()), compound operation is not thread-safe (put-if-absent). Don’t think this is a big issue though, at worst two threads (from the thread-pool) will process the same rmiUrls token.
reassigning back to “Interfaces” because the target is pending.