[
https://issues.apache.org/jira/browse/BEANUTILS-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12738597#action_12738597
]
Franklin Phan commented on BEANUTILS-353:
-----------------------------------------
The key question is:
Why would the following line not return the same *ClassLoader* after the first
invocation:
{code:title=org.apache.commons.beanutils.ContextClassLoaderLocal.java get()
method|borderStyle=solid}
ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();
{code}
And why would this behavior occur only in one instance of the webapp/Tomcat but
not in the other?
> 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.