if (systemExportProp == null)  System.getProperty(Constants.OSGI_SYSTEMPACKAGES);
if (systemExportProp != null) appendManifestValue(systemManifest, Constants.EXPORT_PACKAGE, systemExportProp);  systemExportProp = System.getProperty(Constants.OSGI_SYSTEMPACKAGES);
	private Headers createManifest(File osgiBase) throws BundleException {		InputStream in = null;		if (osgiBase != null && osgiBase.exists()) {			try {				in = baseBundleFile.getEntry(Constants.OSGI_BUNDLE_MANIFEST).getInputStream();			} catch (IOException e) {				// do nothing here.  in == null			}		}		// If we cannot find the Manifest file then use the old SYSTEMBUNDLE.MF file.		// This allows an adaptor to package the SYSTEMBUNDLE.MF file in a jar.		if (in == null) {			in = getClass().getResourceAsStream(Constants.OSGI_SYSTEMBUNDLE_MANIFEST);		}		if (Debug.DEBUG && Debug.DEBUG_GENERAL) {			if (in == null) {				Debug.println("Unable to find system bundle manifest " + Constants.OSGI_SYSTEMBUNDLE_MANIFEST); //$NON-NLS-1$			}		}		if (in == null)			throw new BundleException(AdaptorMsg.formatter.getString("SYSTEMBUNDLE_MISSING_MANIFEST")); //$NON-NLS-1$		Headers systemManifest = Headers.parseManifest(in);		// check the OSGi system package property		// first check the OSGi R4 spec'ed property		String systemExportProp = System.getProperty(Constants.OSGI_FRAMEWORK_SYSTEM_PACKAGES);		if (systemExportProp == null)			// if not set check the original pre OSGi R4 property			System.getProperty(Constants.OSGI_SYSTEMPACKAGES);		if (systemExportProp != null)			appendManifestValue(systemManifest, Constants.EXPORT_PACKAGE, systemExportProp);		// now get any extra packages and services that the adaptor wants		// to export and merge this into the system bundle's manifest		String exportPackages = adaptor.getExportPackages();		String exportServices = adaptor.getExportServices();		String providePackages = adaptor.getProvidePackages();		if (exportPackages != null)			appendManifestValue(systemManifest, Constants.EXPORT_PACKAGE, exportPackages);		if (exportServices != null)			appendManifestValue(systemManifest, Constants.EXPORT_SERVICE, exportServices);		if (providePackages != null)			appendManifestValue(systemManifest, Constants.PROVIDE_PACKAGE, providePackages);		return systemManifest;	}