https://bz.apache.org/bugzilla/show_bug.cgi?id=58398

--- Comment #1 from Yilong Li <yilong...@runtimeverification.com> ---
This bug is detected by Coverity Scan as well. I dig into the history and it
appears that this class was originally written with proper synchronization.
Anyway, listeners + listenersLock looks like a home-made CopyOnWriteArrayList.
Any reason not to use a concurrent data structure such as ConcurrentLinkedQueue
or concurrent HashSet?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to