if (Boolean.valueOf(System.getProperty(PROP_ENABLE_STATE_SAVER, "true")).booleanValue())
if (Boolean.valueOf(FrameworkProperties.getProperty(PROP_ENABLE_STATE_SAVER, "true")).booleanValue())
	public void frameworkStart(BundleContext aContext) throws BundleException {		// EnvironmentInfo has to be initialized first to compute defaults for system context (see bug 88925)		EclipseEnvironmentInfo.getDefault();		// must register the xml parser and initialize the plugin converter		// instance first because we may need it when creating the statemanager		// in super.frameworkStart(context)		registerEndorsedXMLParser(aContext);		PluginConverter converter = new PluginConverterImpl(this, aContext);		super.frameworkStart(aContext);		Bundle bundle = aContext.getBundle();		Location location;		// System property can be set to enable state saver or not.		if (Boolean.valueOf(System.getProperty(PROP_ENABLE_STATE_SAVER, "true")).booleanValue()) //$NON-NLS-1$			stateSaver = new StateSaver();		// Less than optimal reference to EclipseStarter here. Not sure how we		// can make the location		// objects available. They are needed very early in EclipseStarter but		// these references tie the adaptor to that starter.		location = LocationManager.getUserLocation();		Hashtable locationProperties = new Hashtable(1);		if (location != null) {			locationProperties.put("type", LocationManager.PROP_USER_AREA); //$NON-NLS-1$			aContext.registerService(Location.class.getName(), location, locationProperties);		}		location = LocationManager.getInstanceLocation();		if (location != null) {			locationProperties.put("type", LocationManager.PROP_INSTANCE_AREA); //$NON-NLS-1$			aContext.registerService(Location.class.getName(), location, locationProperties);		}		location = LocationManager.getConfigurationLocation();		if (location != null) {			locationProperties.put("type", LocationManager.PROP_CONFIG_AREA); //$NON-NLS-1$			aContext.registerService(Location.class.getName(), location, locationProperties);		}		location = LocationManager.getInstallLocation();		if (location != null) {			locationProperties.put("type", LocationManager.PROP_INSTALL_AREA); //$NON-NLS-1$			aContext.registerService(Location.class.getName(), location, locationProperties);		}		register(org.eclipse.osgi.service.environment.EnvironmentInfo.class.getName(), EclipseEnvironmentInfo.getDefault(), bundle);		register(PlatformAdmin.class.getName(), stateManager, bundle);		register(PluginConverter.class.getName(), converter, bundle);		register(URLConverter.class.getName(), new URLConverterImpl(), bundle);		register(CommandProvider.class.getName(), new EclipseCommandProvider(aContext), bundle);		register(FrameworkLog.class.getName(), getFrameworkLog(), bundle);		registerPerformanceLog(bundle);		register(org.eclipse.osgi.service.localization.BundleLocalization.class.getName(), new BundleLocalizationImpl(), bundle);	}