[CONJ-76] ConcurrentModificationException on calling close() on MySQLPooledConnections Created: 2013-11-18 Updated: 2014-10-21 Resolved: 2014-10-21 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | None |
| Affects Version/s: | 1.1.5 |
| Fix Version/s: | 1.1.8 |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Max Larsson | Assignee: | Massimo Siani (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
I have a simple pool implementation, which deregisteres itself as listener from a pooled connection, when the method close is called on the pooled The close method calls the internal method fireConnectionClosed which notifies all registered listeners. Thus even my pool implementation, which If you want to be drop in replacement you can consider this as bug, else an A simple fix is to use a CopyOnWriteArrayList for the List instances for |