You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@onami.apache.org by "Ioannis Canellos (JIRA)" <ji...@apache.org> on 2013/02/22 13:08:12 UTC

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

Ioannis Canellos created ONAMI-82:
-------------------------------------

             Summary: 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
             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