if (sm != null) {
if (sm != null && framework.permissionAdmin != null) {
	protected void load() {		if (Debug.DEBUG && Debug.DEBUG_GENERAL) {			if ((state & (INSTALLED)) == 0) {				Debug.println("Bundle.load called when state != INSTALLED: " + this); //$NON-NLS-1$				Debug.printStackTrace(new Exception("Stack trace")); //$NON-NLS-1$			}			if (proxy != null) {				Debug.println("Bundle.load called when proxy != null: " + this); //$NON-NLS-1$				Debug.printStackTrace(new Exception("Stack trace")); //$NON-NLS-1$			}		}		if (framework.isActive()) {			SecurityManager sm = System.getSecurityManager();			if (sm != null) {				domain = framework.permissionAdmin.createProtectionDomain(this);			}		}		proxy = null;	}