Details
-
Question
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.1.6
-
None
-
Any Struts env.
Description
I have a fundamental question about the use of SynchronizedMap within AnnotationActionValidatorManager and never actually performing the manual synchronization that is highly/highly suggested for Collections.SynchronizedMap. If the instantiated objects can truly be used across sessions then they should be synchronized. If they are not really used in a multi-threaded manner, shouldn't AnnotationActionValidatorManager simply be using a non-synchronized Map? The non-deterministic warning/comment in Javadoc for SynchronizedMap seems pretty significant to me.