Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The field PoolingDriver.accessToUnderlyingConnectionAllowed is static but mutable; this is inherently thread-hostile.
It seems completely unnecessary for the field to be static; surely it could be an instance variable?
Better yet, drop the setter/getter and make the field final, set by the ctor.