/* */ private URL createURLAndAddToLoader(ClassLoader cl, File tempdir) throws IOException
/* */ {
/* 118 */ URL tmpURL = tempdir.toURL();
/* 119 */ URL tmpCP = new URL(tmpURL, "?dynamic=true");
/* */
/* 121 */ RepositoryClassLoader ucl = (RepositoryClassLoader)cl;
/* */
/* 124 */ if (ucl.getLoaderRepository() != null)
/* */ {
/* 126 */ ucl.addURL(tmpCP);
/* */ }
/* */
/* 129 */ return tmpCP;
/* */ }