mariadb-connector-j version 3.1.1 fails with ConcurrentModificationException while trying to parse properties

In our build, mariadb-connector-j / mariadb-java-client has recently been bumped from 3.1.0 to 3.1.1. Afterwards, DB connection initialisation started to fail in one of our projects:

It seems that due to a recent refactoring, Configuration.mapPropertiesToOption started to contain a removal from a Properties, possibly during an iteration over its keySet() (line 634):

Thank you for your help in advance.


Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.