[
https://issues.apache.org/jira/browse/DBUTILS-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114076#comment-13114076
]
Simone Tripodi commented on DBUTILS-81:
---------------------------------------
Got a feedback from Neil Bartlett (one of the OSGi gurus) on
[Twitter|http://twitter.com/#!/njbartlett/status/117709061654454273], going to
commit the patch and asking for feedbacks on ML
> 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
> Attachments: DBUTILS-81.patch
>
>
> 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