Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 330825

Summary: Add new methods to interfaces that were tagged as @noimplement but for which the restriction has been removed is not a breaking change
Product: [Eclipse Project] PDE Reporter: Olivier Thomann <Olivier_Thomann>
Component: API ToolsAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Michael_Rennie
Version: 3.7Flags: Michael_Rennie: review+
Target Milestone: 3.7 M4   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Proposed fix + regression tests none

Description Olivier Thomann CLA 2010-11-22 11:32:40 EST
Using HEAD, if an interface restriction is relaxed (@noimplement is removed) and at the same time a new method is added, this is reported as a breaking change.
This is not strictly speaking a breaking change since no clients are supposed to implement this interface. Therefore removing the restriction makes it possible to add new methods.
Of course existing implementations which are local to the bundle need to be updated.
Comment 1 Olivier Thomann CLA 2010-11-22 11:51:00 EST
Created attachment 183578 [details]
Proposed fix + regression tests

All tests passed.
Michael, please review.
Comment 2 Michael Rennie CLA 2010-11-25 11:22:42 EST
+1 all unit and smoke tests pass. Applied to HEAD.