View | Details | Raw Unified | Return to bug 272087 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/equinox/internal/ds/Activator.java (-2 / +1 lines)
Lines 154-161 Link Here
154
		boolean hasHeaders = false;
154
		boolean hasHeaders = false;
155
		Bundle[] allBundles = bc.getBundles();
155
		Bundle[] allBundles = bc.getBundles();
156
		for (int i = 0; i < allBundles.length; i++) {
156
		for (int i = 0; i < allBundles.length; i++) {
157
			Dictionary allHeaders = allBundles[i].getHeaders();
157
			if (allBundles[i].getHeaders("").get(ComponentConstants.SERVICE_COMPONENT) != null) { //$NON-NLS-1$
158
			if (allHeaders.get(ComponentConstants.SERVICE_COMPONENT) != null) {
159
				hasHeaders = true;
158
				hasHeaders = true;
160
				break;
159
				break;
161
			}
160
			}
(-)src/org/eclipse/equinox/internal/ds/SCRManager.java (-3 / +1 lines)
Lines 474-482 Link Here
474
			return;
474
			return;
475
		}
475
		}
476
476
477
		Dictionary allHeaders = bundle.getHeaders();
477
		if (!((bundle.getHeaders("").get(ComponentConstants.SERVICE_COMPONENT)) != null)) { //$NON-NLS-1$
478
479
		if (!((allHeaders.get(ComponentConstants.SERVICE_COMPONENT)) != null)) {
480
			// no component descriptions in this bundle
478
			// no component descriptions in this bundle
481
			return;
479
			return;
482
		}
480
		}

Return to bug 272087