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/
582 stars 162 forks source link

unload whole jarFile #34

Closed FabiUnne closed 9 years ago

FabiUnne commented 9 years ago

Hey there, not sure, if this is the right place for my question. I'm currently working on a launcher for my java-app. This launcher loads a jarFile with your JavaClassLoader and starts the main app. Now, I want to update this jarFile, but it is locked (maybe by the ClassLoader?). Is there a possibility to unload the whole jarFile to replace it with a newer one?

Greetings from Germany Fabian

FabiUnne commented 9 years ago

okay, my mistake. The problem isn't a lock on class files, but on resource files, whose stream was not closed.

Really a very useful project.