--- old/src/share/classes/com/sun/tools/javac/file/CloseableURLClassLoader.java 2009-09-24 17:46:28.000000000 -0700 +++ new/src/share/classes/com/sun/tools/javac/file/CloseableURLClassLoader.java 2009-09-24 17:46:28.000000000 -0700 @@ -45,9 +45,9 @@ * This code and its internal interfaces are subject to change or * deletion without notice. */ -class CloseableURLClassLoader +public class CloseableURLClassLoader extends URLClassLoader implements Closeable { - CloseableURLClassLoader(URL[] urls, ClassLoader parent) throws Error { + public CloseableURLClassLoader(URL[] urls, ClassLoader parent) throws Error { super(urls, parent); try { getLoaders(); //proactive check that URLClassLoader is as expected @@ -63,6 +63,7 @@ * @throws java.io.IOException if the jar files cannot be found for any * reson, or if closing the jar file itself causes an IOException. */ + @Override public void close() throws IOException { try { for (Object l: getLoaders()) {