kamranzafar / JCL

Jar Class Loader, a configurable and dynamic custom classloader designed to create, manage and manipulate isolated Java classloaders in IoC frameworks and web applications.
http://kamranzafar.github.com/
579 stars 161 forks source link

There isn't any support of getPackage() method #48

Open bear11j opened 8 years ago

bear11j commented 8 years ago

I loaded dynamically JDBC driver jar and called acceptsURL method (with MethodHandle): as I got a NPE with MySQL Driver, I read the MySQL code and noticed the NPE occurs because of invoking method getPackage() (in com.mysql.jdbc.Util), that always returns a null reference.