[ 
https://issues.apache.org/jira/browse/DIGESTER-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163043#comment-13163043
 ] 

Matt Benson commented on DIGESTER-154:
--------------------------------------

I agree that Digester should have a centralized mechanism for resolving String 
to Class.  Maybe we should just import lang3.ClassUtils and shade it.  There 
are a number of things [digester] "redoes" from [lang]'s repertoire IMO.  But 
as I'm not a "regular" [digester] developer, I don't feel strongly about either 
approach.
                
> The DigesterBinder is not able to load primitive classes by name
> ----------------------------------------------------------------
>
>                 Key: DIGESTER-154
>                 URL: https://issues.apache.org/jira/browse/DIGESTER-154
>             Project: Commons Digester
>          Issue Type: Bug
>    Affects Versions: 3.2
>            Reporter: Simone Tripodi
>            Assignee: Simone Tripodi
>             Fix For: 3.2
>
>
> Since the Digester relies on the ClassLoader to load classes for name, when 
> passing strings like {{boolean}} or {{double}} it fails.
> An idea in order to avoid to redesign the digester, could be façading the 
> {{Digetser#getClassLoader()}} instance, intercepting the {{loadClass( String 
> )}} method

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to