BundleFile[] fragFiles = buildClasspath(classpath,defaultBundledata); FragmentClasspath fragClasspath = new FragmentClasspath(fragFiles,defaultBundledata,domain);
ClasspathEntry[] fragEntries = buildClasspath(classpath,defaultBundledata,domain); FragmentClasspath fragClasspath = new FragmentClasspath(fragEntries,defaultBundledata,domain);
	public void attachFragment(org.eclipse.osgi.framework.adaptor.BundleData bundledata,ProtectionDomain domain,String[] classpath) {		DefaultBundleData defaultBundledata = (DefaultBundleData) bundledata;		try		{			bundledata.open(); /* make sure the BundleData is open */		} catch (IOException e)		{						defaultBundledata.adaptor.getEventPublisher().publishFrameworkEvent(					FrameworkEvent.ERROR,defaultBundledata.getBundle(),e);		}		BundleFile[] fragFiles = buildClasspath(classpath,defaultBundledata);		FragmentClasspath fragClasspath = new FragmentClasspath(fragFiles,defaultBundledata,domain);		insertFragment(fragClasspath);	}