[
https://issues.apache.org/jira/browse/COLLECTIONS-343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Neidhart reopened COLLECTIONS-343:
-----------------------------------------
> Functor singleton classes do not implement singleton pattern correctly
> ----------------------------------------------------------------------
>
> Key: COLLECTIONS-343
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-343
> Project: Commons Collections
> Issue Type: Bug
> Components: Functor
> Reporter: Goran Hacek
> Fix For: 4.0
>
> Attachments: fix_functor_singletones.patch
>
>
> All classes in package "org.apache.commons.collections.functors" that
> advertise that they have singleton instance actually cannot guarantee that.
> Because of serialization support multiple instances of those classes can
> exist at runtime.
> Following classes are making this false claim:
> * CloneTransformer
> * ExceptionClosure
> * ExceptionFactory
> * ExceptionPredicate
> * ExceptionTransformer
> * FalsePredicate
> * NOPClosure
> * NOPTransformer
> * NotNullPredicate
> * NullPredicate
> * StringValueTransformer
> * TruePredicate
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira