Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel LeBerre2010-11-11 15:08:07 -0500
committerDaniel LeBerre2010-11-11 15:08:07 -0500
commit1f21ab36adbe03ee2d57f40982a9967139294a85 (patch)
tree6ec91a796fbf0db182e095c38b69ade127ac679d /bundles/org.eclipse.equinox.p2.director
parent9ff684832be979e7e982987335f5df44a9594a4c (diff)
downloadrt.equinox.p2-1f21ab36adbe03ee2d57f40982a9967139294a85.tar.gz
rt.equinox.p2-1f21ab36adbe03ee2d57f40982a9967139294a85.tar.xz
rt.equinox.p2-1f21ab36adbe03ee2d57f40982a9967139294a85.zip
Fix for bug 329279.
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.director')
-rw-r--r--bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/Projector.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/Projector.java b/bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/Projector.java
index 1d77cdc68..48c07561c 100644
--- a/bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/Projector.java
+++ b/bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/Projector.java
@@ -302,7 +302,7 @@ public class Projector {
// no need to add one here, since maxWeight is strictly greater than the
// maximal weight used so far.
- maxWeight = maxWeight.multiply(POWER);
+ maxWeight = maxWeight.multiply(POWER).multiply(BigInteger.valueOf(s.size()));
// Add the abstract variables
BigInteger abstractWeight = maxWeight.negate();

Back to the top