if (!hasDynamicImports) {
if (!hasDynamicImports)
	protected boolean isDynamicallyImported(String pkgname) {		// must check for startsWith("java.") to satisfy R3 section 4.7.2		if (pkgname.startsWith("java.")) //$NON-NLS-1$			return true;		/* quick shortcut check */		if (!hasDynamicImports) {			return false;		}		/* "*" shortcut */		if (dynamicImportPackageAll)			return true;		/* 		 * If including the system bundle packages by default, dynamically import them.		 * Most OSGi framework implementations assume the system bundle packages		 * are on the VM classpath.  As a result some bundles neglect to import		 * framework packages (e.g. org.osgi.framework).		 */		String[] systemPackages = SystemBundleLoader.getSystemPackages();		if (systemPackages != null) {			for (int i = 0; i < systemPackages.length; i++)				if (pkgname.equals(systemPackages[i]))					return true;		}		/* match against specific names */		if (dynamicImportPackages != null)			for (int i = 0; i < dynamicImportPackages.length; i++)				if (pkgname.equals(dynamicImportPackages[i]))					return true;		/* match against names with trailing wildcards */		if (dynamicImportPackageStems != null)			for (int i = 0; i < dynamicImportPackageStems.length; i++)				if (pkgname.startsWith(dynamicImportPackageStems[i]))					return true;		return false;	}