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

Hudson commented on ONAMI-82:
-----------------------------

Integrated in Onami-Autobind #150 (See 
[https://builds.apache.org/job/Onami-Autobind/150/])
    [ONAMI-82] Add a utility for loading classes. Replace Class.forName calls. 
(Revision 1449012)

     Result = SUCCESS
iocanel : 
Files : 
* 
/incubator/onami/trunk/autobind/core/src/main/java/org/apache/onami/autobind/annotations/features/AutoBindingFeature.java
* 
/incubator/onami/trunk/autobind/core/src/main/java/org/apache/onami/autobind/utils/ClassLoadingUtils.java
* 
/incubator/onami/trunk/autobind/integrations/enterprise/src/main/java/org/apache/onami/autobind/enterprise/BeansXMLModule.java

                
> Avoid the use of Class.forName
> ------------------------------
>
>                 Key: ONAMI-82
>                 URL: https://issues.apache.org/jira/browse/ONAMI-82
>             Project: Apache Onami
>          Issue Type: Improvement
>          Components: autobind
>    Affects Versions: autobind-0.9.2
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>             Fix For: autobind-0.9.2
>
>
> This is classic. There are a lot of reason not to use Class.forName.
> I think that we should use loadClass instead and fall back to the TCCL if 
> class can't be loaded.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to