Save This Page
Home » openjdk-7 » sun » misc » [javadoc | source]
sun.misc
public class: ClassLoaderUtil [javadoc | source]
java.lang.Object
   sun.misc.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.
Method from sun.misc.ClassLoaderUtil Summary:
releaseLoader,   releaseLoader
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,
    List<String> jarsClosed) 
    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.