Class cls = findLoadedClass(name);
Class cls = findLoadedClass(clazz);
	private Class loadClassFromZip(String clazz, boolean resolveIt,		boolean doDepencies)		throws ClassNotFoundException	{		String name = MiscUtilities.classToFile(clazz);		Class cls = findLoadedClass(name);		if(cls != null)		{			if(resolveIt)				resolveClass(cls);			return cls;		}		try		{			ZipEntry entry = zipFile.getEntry(name);			if(entry == null)			{				if(doDepencies)					return findOtherClass(clazz,resolveIt);				else					return null;			}			InputStream in = zipFile.getInputStream(entry);			int len = (int)entry.getSize();			byte[] data = new byte[len];			int success = 0;			int offset = 0;			while (success < len) {				len -= success;				offset += success;				success = in.read(data,offset,len);				if (success == -1)				{					String[] args = { clazz, zipFile.getName() };					System.err.println(jEdit.getProperty(						"jar.error.zip",args));					throw new ClassNotFoundException(clazz);				}			}						cls = defineClass(clazz,data,0,data.length);			if(resolveIt)				resolveClass(cls);			return cls;		}		catch(IOException io)		{			System.err.println("I/O error:");			io.printStackTrace();			throw new ClassNotFoundException(clazz);		}	}