blob: e629fae5d10f55e8a5d8bbab838809bd8e66dc81 [file] [log] [blame]
package dalvik.system;
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
// Implement the equivalent of the PathClassLoader for CF backend. This simply forwards to the
// URLClassLoader.
public class PathClassLoader extends URLClassLoader {
public PathClassLoader(String dexPath, ClassLoader parent) throws MalformedURLException {
super(new URL[] {new File(dexPath).toURI().toURL()}, parent);
}
public PathClassLoader(URL[] urls, ClassLoader parent) {
super(urls, parent);
}
}