[ https://issues.apache.org/jira/browse/POOL-138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711423#action_12711423 ]
Sebb commented on POOL-138: --------------------------- The same applies to the other Factory classes: GenericObjectPoolFactory StackKeyedObjectPoolFactory StackObjectPoolFactory > GenericKeyedObjectPoolFactory could be made immutable and thread-safe > --------------------------------------------------------------------- > > Key: POOL-138 > URL: https://issues.apache.org/jira/browse/POOL-138 > Project: Commons Pool > Issue Type: Improvement > Affects Versions: 1.4 > Reporter: Sebb > > 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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.