public class: ClassLoaderUtil
Provides utility functions related to URLClassLoaders or subclasses of it.
W A R N I N G
This class uses undocumented, unpublished, private data structures inside
java.net.URLClassLoader and sun.misc.URLClassPath. Use with extreme caution.
|Methods from java.lang.Object:|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait|
|Method from sun.misc.ClassLoaderUtil Detail:|
public static void releaseLoader(URLClassLoader classLoader)
Releases resources held by a URLClassLoader. A new classloader must
be created before the underlying resources can be accessed again.
public static List<IOException> releaseLoader(URLClassLoader classLoader,
Releases resources held by a URLClassLoader. Notably, close the jars
opened by the loader. Initializes and updates the List of
jars that have been successfully closed.