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

Sebb commented on DBUTILS-81:
-----------------------------

Have you a suggested patch for this?

> DbUtils.loadDriver() uses Class.forName()
> -----------------------------------------
>
>                 Key: DBUTILS-81
>                 URL: https://issues.apache.org/jira/browse/DBUTILS-81
>             Project: Commons DbUtils
>          Issue Type: Bug
>            Reporter: Simone Tripodi
>
> The {{Class.forName()}} statement should be avoided due to potential OSGi 
> issues - commons components are OSGi bundles!
> The ClassLoader should be used instead to [load 
> classes|http://download.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html#loadClass(java.lang.String)]
>  and add a new method to pass custom ClassLoader.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to