return url.openStream();
in = url.openStream(); result.load(new BufferedInputStream(in));
	private InputStream findVMProfile() {		URL url = null;		// check for the java profile property for a url		String propJavaProfile = System.getProperty(Constants.OSGI_JAVA_PROFILE);		if (propJavaProfile != null)			try {				// we assume a URL				url = new URL(propJavaProfile);			} catch (MalformedURLException e1) {				// TODO consider logging ...			}		if (url == null && vmProfile != null) {			// look for a profile in the system bundle based on the vm profile			String javaProfile = vmProfile + ".profile"; //$NON-NLS-1$			url = systemBundle.getEntry(javaProfile);			if (url == null)				url = getClass().getResource(javaProfile);		}		if (url != null)			try {				return url.openStream();			} catch (IOException e) {				// TODO consider logging ...			}		return null;	}