-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
01
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2120055 | 6 | Eamonn McManus | P3 | Resolved | Fixed | b19 |
NotificationBroadcasterSupport controls concurrent access to its internal list of listeners by using synchronized (this). This is a bad idea since this class is intended to be subclassed. If the subclass also does synchronized (this), or equivalently has synchronized methods, then unexpected deadlocks can arise.
- backported by
-
JDK-2120055 NotificationBroadcasterSupport should not use synchronized(this)
-
- Resolved
-