|
From: Sergey B. <ser...@ma...> - 2004-12-06 22:13:31
|
Hi, I am working with spring-rcp and have encountered one provoking bug. 'BeanPropertyAccessStrategy' class has two fields 'beanHolder' and 'beanWrapper' linked with the same parent object (beanHolder.getValue() and beanWrapper.getWrappedInstance()). This fields really need to be linked to same object. But this synchronization may be got broken. So we need here more safe coding. The patch contains one way to provide such safety. This is only example, such manipulations should be done every time when the 'beanWrapper' field is used. Best regards, Sergey Bogatyrjov. |