protected BundleFile[] buildClasspath(String[] classpath, DefaultBundleData bundledata) {
protected ClasspathEntry[] buildClasspath(String[] classpath, DefaultBundleData bundledata, ProtectionDomain domain) {
	protected BundleFile[] buildClasspath(String[] classpath, DefaultBundleData bundledata) {		ArrayList result = new ArrayList(10);		// If not in dev mode then just add the regular classpath entries and return		if (System.getProperty("osgi.dev") == null) {			for (int i = 0; i < classpath.length; i++) 				addClassPathEntry(result, classpath[i],bundledata);			return (BundleFile[])result.toArray(new BundleFile[result.size()]);		}				// Otherwise, add the legacy entries for backwards compatibility and		// then for each classpath entry add the dev entries as spec'd in the 		// corresponding properties file.  If none are spec'd, add the 		// classpath entry itself		addDefaultDevEntries(result, bundledata);		for (int i = 0; i < classpath.length; i++) {			String[] devEntries = getDevEntries(classpath[i], bundledata);			if (devEntries != null && devEntries.length > 0) {				for (int j = 0; j < devEntries.length; j++) 					addClassPathEntry(result, devEntries[j], bundledata);			} else 				addClassPathEntry(result, classpath[i], bundledata);		}		return (BundleFile[])result.toArray(new BundleFile[result.size()]);	}