Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326914 - org.eclipse.equinox.p2.operations contains a breaking change
Summary: org.eclipse.equinox.p2.operations contains a breaking change
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.7 M3   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 315120 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-04 09:01 EDT by Olivier Thomann CLA
Modified: 2011-05-07 14:43 EDT (History)
1 user (show)

See Also:


Attachments
Proposed fix (2.38 KB, patch)
2010-10-04 09:06 EDT, Olivier Thomann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2010-10-04 09:01:38 EDT
org.eclipse.equinox.p2.operations.ProfileChangeOperation.getProfileChangeRequest() has changed its return type between 3.6.1 and 3.7.
This would be a breaking change.
If ok, it must be documented and an api tools filter must be added.
Comment 1 Olivier Thomann CLA 2010-10-04 09:06:07 EDT
Created attachment 180158 [details]
Proposed fix

This is a patch that adds an api problem filter and adds the corresponding @since tag and adjusts the bundle version.
Comment 2 DJ Houghton CLA 2010-10-04 09:13:40 EDT
Yes the change is valid. See bug 326090 for the change and bug 326100 for the documentation.
Comment 3 DJ Houghton CLA 2010-10-04 09:53:36 EDT
Thanks for the patch.
Released to HEAD.
Closing.
Comment 4 Pascal Rapicault CLA 2011-05-07 14:43:24 EDT
*** Bug 315120 has been marked as a duplicate of this bug. ***