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 2013/04/01 11:37:15 UTC

[jira] [Resolved] (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 resolved ONAMI-82.
-----------------------------------

    Resolution: Fixed

There are no Class.forName in code left so i assume i can resolve this issue. Feel free to reopen it if necessary.
                
> 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