Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.4
-
None
Description
GenericKeyedObjectPoolFactory could be made immutable and thread-safe by making all the protected fields final.
This would preclude creating a factory and then changing one of the parameters, though as the fields are protected only subclasses can do this.
As the class stands, it is not intrinsically thread-safe.