Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2008-09-10 14:29:55 -0400
committerThomas Watson2008-09-10 14:29:55 -0400
commitae26454abdaa8e2724e23c7eb3ec966ce02d0b19 (patch)
tree5ce8b6e751464c1623764769a4244299970bdcd0 /bundles/org.eclipse.osgi/resolver
parentdd9f2ba96a464ada6356684acaf1c0821cd64594 (diff)
downloadrt.equinox.framework-ae26454abdaa8e2724e23c7eb3ec966ce02d0b19.tar.gz
rt.equinox.framework-ae26454abdaa8e2724e23c7eb3ec966ce02d0b19.tar.xz
rt.equinox.framework-ae26454abdaa8e2724e23c7eb3ec966ce02d0b19.zip
Bug 246640 System packages only added to first system bundle
Diffstat (limited to 'bundles/org.eclipse.osgi/resolver')
-rw-r--r--bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/resolver/StateImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/resolver/StateImpl.java b/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/resolver/StateImpl.java
index 3d6db2cb7..eccd394bb 100644
--- a/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/resolver/StateImpl.java
+++ b/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/resolver/StateImpl.java
@@ -678,8 +678,8 @@ public abstract class StateImpl implements State {
private void resetSystemExports() {
BundleDescription[] systemBundles = getBundles(Constants.SYSTEM_BUNDLE_SYMBOLICNAME);
- if (systemBundles.length > 0) {
- BundleDescriptionImpl systemBundle = (BundleDescriptionImpl) systemBundles[0];
+ for (int idx = 0; idx < systemBundles.length; idx++) {
+ BundleDescriptionImpl systemBundle = (BundleDescriptionImpl) systemBundles[idx];
ExportPackageDescription[] exports = systemBundle.getExportPackages();
ArrayList newExports = new ArrayList(exports.length);
for (int i = 0; i < exports.length; i++)

Back to the top