| Summary: | [discovery] DiscoveryInstallOperation can install older version of a feature over a newer one | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | David Dubrow <david.dubrow> | ||||
| Component: | p2 | Assignee: | David Dubrow <david.dubrow> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | greensopinion, pascal, shawn.minto, steffen.pingel | ||||
| Version: | 3.6 | Flags: | steffen.pingel:
review+
pascal: review+ |
||||
| Target Milestone: | 3.6 RC2 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Thanks for the bug report and patch, David. The fix looks right to me. Pascal, can you take a quick look as well? Thanks. Patch released. |
Created attachment 168982 [details] proposed fix While working with composite repositories where multiple versions may exist for the same feature, I found a bug in DiscoveryInstallOperation whereby an older version is installed over a newer one if the result of OSGIVersion.compareTo is < -1.