public BundleClassLoader(ClassLoaderDelegate delegate, ProtectionDomain domain, String[] classpath, ClassLoader parent) { this.delegate = delegate; this.hostdomain = domain; this.hostclasspath = classpath;  if (parent == null) parentClassLoader = defaultParentClassLoader; else parentClassLoader = parent;
public BundleClassLoader(ClassLoaderDelegate delegate, ProtectionDomain domain, String[] classpath) { this(delegate, domain, classpath, null);
	public BundleClassLoader(ClassLoaderDelegate delegate, ProtectionDomain domain, String[] classpath, ClassLoader parent) {		this.delegate = delegate;		this.hostdomain = domain;		this.hostclasspath = classpath;		// use the defaultParentClassLoader if a parent is not specified.		if (parent == null)			parentClassLoader = defaultParentClassLoader;		else			parentClassLoader = parent;	}