I was playing around with classLoaders in Java and noticed a strange thing. If a classLoader loads a class from a jar, this jar is locked indefinitely even if you unreferenc
In Java 7 URLClassLoader has a #close() method that fixes this.
#close()