importedSources.add(source);
synchronized (this) { if (importedSources == null) importedSources = new KeyedHashSet(false); } synchronized (importedSources) { importedSources.add(source); }
	private PackageSource findDynamicSource(String pkgName) {		if (isDynamicallyImported(pkgName)) {			ExportPackageDescription exportPackage = bundle.framework.adaptor.getState().linkDynamicImport(proxy.getBundleDescription(), pkgName);			if (exportPackage != null) {				PackageSource source = createExportPackageSource(exportPackage);				importedSources.add(source);				return source;			}		}		return null;	}