|
[jira] Commented: (BEANUTILS-353) Unable to call isUseDefault() to check wh: msg#00402issues-commons-apache
[ https://issues.apache.org/jira/browse/BEANUTILS-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735754#action_12735754 ] Niall Pemberton commented on BEANUTILS-353: ------------------------------------------- Many of the new converter implementations added in BeanUtils 1.8.0 have getters/setters which are not safe to call in a multi-thread environment. So to avoid people shooting themselves in the foot they are wrapped in the facade. If you want a different behaviour then you need to register a either a different implementation or differently configured implementation. > Unable to call isUseDefault() to check whether a default value will be > returned > ------------------------------------------------------------------------------- > > Key: BEANUTILS-353 > URL: https://issues.apache.org/jira/browse/BEANUTILS-353 > Project: Commons BeanUtils > Issue Type: Bug > Components: ConvertUtils & Converters > Affects Versions: 1.8.0 > Environment: WinXP Pro, JDK 1.6.0_14, Tomcat 5.5.27 > Reporter: Franklin Phan > > One can never call isUseDefault() to check on a Converter given the way you > have ConverterFacade designed and in ConvertUtilsBean: > {{ > private void register(Class clazz, Converter converter) { > register(new ConverterFacade(converter), clazz); > } > }} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
|
|
||||||||||||||||||||||||||
| News | Mail Home | sitemap | FAQ | advertise |