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

getResource in local loader is broken #31

Closed ildipo closed 9 years ago

ildipo commented 9 years ago

getResource in the local loader throws an exception if no jar has ever been loaded. This is incorrect: it should return NULL so other loaders have a chance of returning the resource.

Note that PR #24 fixes this issue as well and I strongly suggest to accept it.

kamranzafar commented 9 years ago

Thanks for raising this. Will accept PR #24 to fix the issue and release v2.6.