Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
BeanHelper.setDefaultBeanFactory() sets a private static field.
This is thread-hostile, because different threads cannot safely use different factories.
It's also not thread-safe, as the variable is not guaranteed to be published safely.
Should either make the variable volatile, or synchronize both getter and setter.
Attachments
Issue Links
- is related to
-
CONFIGURATION-554 Make BeanHelper an instantiable class
- Closed