return new PluginClassLoader(PluginDescriptorModel.this, jarFile, preLoaders);
return new PluginClassLoader(registry, PluginDescriptorModel.this, jarFile, preLoaders);
	public ClassLoader getPluginClassLoader() {		if (classLoader == null) {			if (system) {				classLoader = ClassLoader.getSystemClassLoader();			} else {				if (jarFile == null) {					throw new RuntimeException("Cannot create classloader without a jarfile");				}				final int reqMax = requires.length;				final PluginClassLoader[] preLoaders = new PluginClassLoader[reqMax];				for (int i = 0; i < reqMax; i++) {					final String reqId = requires[i].getPluginId();					final PluginDescriptor reqDescr = registry.getPluginDescriptor(reqId);					final ClassLoader cl = reqDescr.getPluginClassLoader();					if (cl instanceof PluginClassLoader) {						preLoaders[i] = (PluginClassLoader) cl;					}				}				final PrivilegedAction a = new PrivilegedAction() {				    public Object run() {						return new PluginClassLoader(PluginDescriptorModel.this, jarFile, preLoaders);				        				    }				};				classLoader = (PluginClassLoader)AccessController.doPrivileged(a);				//new PluginClassLoader(jarFile, preLoaders);			}		}		return classLoader;	}