if (check != null || clazz == null) { throw new InternalError(); }
if (check != null || clazz == null) throw new InternalError();
    public static synchronized Class getProxyClass(ClassLoader loader, Class[] interfaces) {		interfaces = (Class[]) interfaces.clone();		ProxyType pt = new ProxyType(loader, interfaces);		Class clazz = (Class) proxyClasses.get(pt);		if (clazz == null) {		    ProxyData data = ProxyData.getProxyData(pt);					    		    ClassFactory cf = new ClassFactory(data);		    clazz = cf.generate(loader);		    		    Object check = proxyClasses.put(pt, clazz);		    // assert check == null && clazz != null;		    if (check != null || clazz == null) {		        throw new InternalError(/* "Fatal flaw in getProxyClass" */);		    }		}		return clazz;	}