Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #387611 +++ This got introduced with the "fix" in bug 326745. The following code got added with that fix: current = manipulatingContext.installBundle(bundleLocation); if (!version.equals(current.getVersion()) || !symbolicName.equals(current.getSymbolicName())) // can happen if, for example, the new version of the bundle is installed // to the same bundle location as the old version current.update(); The problem is that "version" here is a String and current.getVersion returns a Version object so the version.equals(current.getVersion()) call never returns true. This means that every install is immediately followed by an unnecessary update.
Tom wrote this and I've +1ed it (And released into into Juno SR1). http://git.eclipse.org/c/equinox/rt.equinox.p2.git/commit/?id=676e516bbf89464faf01deccd8ed03cbd8835f55 I think that's all we need at this point.