if (debug) System.out.println("Time to log the unresolved Bundles: " + (System.currentTimeMillis() - start));
	private static void logUnresolvedBundles(Bundle[] bundles) {		long start = 0;		if (debug)			start = System.currentTimeMillis();		State state = adaptor.getState();		FrameworkLog logService = adaptor.getFrameworkLog();		StateHelper stateHelper = adaptor.getPlatformAdmin().getStateHelper();		for (int i = 0; i < bundles.length; i++)			if (bundles[i].getState() == Bundle.INSTALLED) {				String generalMessage = EclipseAdaptorMsg.formatter.getString("ECLIPSE_STARTUP_ERROR_BUNDLE_NOT_RESOLVED", bundles[i]); //$NON-NLS-1$				BundleDescription description = state.getBundle(bundles[i].getBundleId());				// for some reason, the state does not know about that bundle				if (description == null)					continue;				FrameworkLogEntry[] logChildren = null;				VersionConstraint[] unsatisfied = stateHelper.getUnsatisfiedConstraints(description);				if (unsatisfied.length > 0) {					// the bundle wasn't resolved due to some of its constraints were unsatisfiable					logChildren = new FrameworkLogEntry[unsatisfied.length];					for (int j = 0; j < unsatisfied.length; j++)						logChildren[j] = new FrameworkLogEntry(FrameworkAdaptor.FRAMEWORK_SYMBOLICNAME, EclipseAdaptorMsg.getResolutionFailureMessage(unsatisfied[j]), 0, null, null);				} else if (description.getSymbolicName() != null) {					BundleDescription[] homonyms = state.getBundles(description.getSymbolicName());					for (int j = 0; j < homonyms.length; j++)						if (homonyms[j].isResolved()) {							logChildren = new FrameworkLogEntry[1];							logChildren[0] = new FrameworkLogEntry(FrameworkAdaptor.FRAMEWORK_SYMBOLICNAME, EclipseAdaptorMsg.formatter.getString("ECLIPSE_CONSOLE_OTHER_VERSION", homonyms[j].getLocation()), 0, null, null); //$NON-NLS-1$						}				}				logService.log(new FrameworkLogEntry(FrameworkAdaptor.FRAMEWORK_SYMBOLICNAME, generalMessage, 0, null, logChildren));			}		if (debug)			System.out.println("Time to log the unresolved Bundles: " + (System.currentTimeMillis() - start)); //$NON-NLS-1$	}