Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2006-07-17 08:47:40 -0400
committerThomas Watson2006-07-17 08:47:40 -0400
commit5675b356eb23a8589a93f50f3ce45776e4ea0776 (patch)
tree4ad24d8044220cfd8d11c1ce8fdf49af75812995
parent3f76e8aa09b135bf3f2f357f77390cae344b9e45 (diff)
downloadrt.equinox.framework-5675b356eb23a8589a93f50f3ce45776e4ea0776.tar.gz
rt.equinox.framework-5675b356eb23a8589a93f50f3ce45776e4ea0776.tar.xz
rt.equinox.framework-5675b356eb23a8589a93f50f3ce45776e4ea0776.zip
Bug 141380 Framework does not handle Bundle update() API correctly
-rw-r--r--bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/module/VersionHashMap.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/module/VersionHashMap.java b/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/module/VersionHashMap.java
index 8123546d9..bbf5ff693 100644
--- a/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/module/VersionHashMap.java
+++ b/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/module/VersionHashMap.java
@@ -106,6 +106,6 @@ public class VersionHashMap extends MappedList implements Comparator {
int versionCompare = -(vs1.getVersion().compareTo(vs2.getVersion()));
if (versionCompare != 0)
return versionCompare;
- return vs1.getBundle().getBundleId() < vs2.getBundle().getBundleId() ? -1 : 1;
+ return vs1.getBundle().getBundleId() <= vs2.getBundle().getBundleId() ? -1 : 1;
}
}

Back to the top