You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@onami.apache.org by "Mikhail Mazursky (JIRA)" <ji...@apache.org> on 2014/02/22 14:11:49 UTC

[jira] [Closed] (ONAMI-82) Avoid the use of Class.forName

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

Mikhail Mazursky closed ONAMI-82.
---------------------------------


> 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 was sent by Atlassian JIRA
(v6.1.5#6160)