Bug #99102 ConcurrentModificationException when using xdevapi Client with pooling
| Submitted: | 28 Mar 2020 14:37 | Modified: | 3 Aug 2020 21:24 |
|---|---|---|---|
| Reporter: | Vladimir Marinov | Email Updates: | |
| Status: | Duplicate | Impact on me: | |
| Category: | Connector / J | Severity: | S3 (Non-critical) |
| Version: | OS: | Any | |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | XDevAPI | ||
[3 Aug 2020 21:24]
Filipe Silva
Hi Vladimir, Thank you for this report and your interest in Connector/J. This is a duplicate of Bug#97730.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.061 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
Description: There is no synchronization when new element is added to `com.mysql.cj.xdevapi.ClientImpl.activeProtocols` ``` public Session com.mysql.cj.xdevapi.ClientImpl.getSession() { ... this.activeProtocols.add(new WeakReference<>(prot)); SessionImpl sess = new SessionImpl(prot); return sess; } ``` How to repeat: I do not want to supply instructions on how the bug I am reporting can be repeated, but this filed is required so...