state.setSystemExports(null);
	private void writeStateDeprecated(StateImpl state, DataOutputStream out) throws IOException {		// first clear the System exports because we don't want to persist them in the system		// bundles bundle description data		state.setSystemExports(null);		out.write(StateReader.STATE_CACHE_VERSION);		if (writePrefix(state, out))			return;		out.writeLong(state.getTimeStamp());		Dictionary[] propSet = state.getPlatformProperties();		out.writeInt(propSet.length);		for (int i = 0; i < propSet.length; i++){			Dictionary props = propSet[i];			out.writeInt(StateImpl.PROPS.length);			for (int j = 0; j < StateImpl.PROPS.length; j++)				writePlatformProp(props.get(StateImpl.PROPS[j]), out);		}		BundleDescription[] bundles = state.getBundles();		StateHelperImpl.getInstance().sortBundles(bundles);		out.writeInt(bundles.length);		if (bundles.length == 0)			return;		for (int i = 0; i < bundles.length; i++)			writeBundleDescription(bundles[i], out, false);		out.writeBoolean(state.isResolved());		// save the lazy data offset		out.writeInt(out.size());		for (int i = 0; i < bundles.length; i++)			writeBundleDescriptionLazyData(bundles[i], out);	}