} else {
} if (!exporting){
	protected boolean unload() {		if (Debug.DEBUG && Debug.DEBUG_GENERAL) {			if ((state & (UNINSTALLED | INSTALLED | RESOLVED)) == 0) {				Debug.println("Bundle.unload called when state != UNINSTALLED | INSTALLED | RESOLVED: " + this); //$NON-NLS-1$				Debug.printStackTrace(new Exception("Stack trace")); //$NON-NLS-1$			}		}		boolean exporting = false;		if (framework.isActive()) {			if (state == RESOLVED) {				BundleLoaderProxy curProxy = getLoaderProxy();				exporting = curProxy.inUse();				if (exporting)					// make sure the BundleLoader is created.					curProxy.getBundleLoader().createClassLoader();				else					closeBundleLoader(proxy);				state = INSTALLED;				proxy = null;				fragments = null;				domain = null;			}		} else {			try {				this.bundledata.close();			} catch (IOException e) { // Do Nothing.			}		}		return (exporting);	}