commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Heger (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (BEANUTILS-446) Some of the converters ignore the passed in target type
Date Thu, 12 Dec 2013 20:39:08 GMT

     [ https://issues.apache.org/jira/browse/BEANUTILS-446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oliver Heger closed BEANUTILS-446.
----------------------------------


> Some of the converters ignore the passed in target type
> -------------------------------------------------------
>
>                 Key: BEANUTILS-446
>                 URL: https://issues.apache.org/jira/browse/BEANUTILS-446
>             Project: Commons BeanUtils
>          Issue Type: Bug
>          Components: ConvertUtils & Converters
>    Affects Versions: 1.8.3
>            Reporter: Oliver Heger
>             Fix For: 1.9.0
>
>
> Many converter classes derived from {{AbstractConverter}} ignore the target type in their
implementation of {{converterToType()}}. They just perform a conversion to their default type.
> Depending on the way converters are registered, this may not be a major problem, but
it is inconsistent. In theory it can lead to unexpected data and ClassCastExceptions after
a successful conversion.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message