Summary: | API breakage reported if removing extends of internal class | ||
---|---|---|---|
Product: | [Eclipse Project] PDE | Reporter: | Jerome Lanneluc <jerome_lanneluc> |
Component: | API Tools | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | darin.eclipse, Olivier_Thomann |
Version: | 3.1 | ||
Target Milestone: | 3.5 M2 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: | |||
Bug Depends on: | |||
Bug Blocks: | 245835, 245858, 245860 |
Description
Jerome Lanneluc
2008-08-29 10:29:35 EDT
If the extended type is not API, it should not be considered as API breakage to remove it. If the internal type is exposing public methods, then breaking changes to one of these methods will also be reported as a breaking change even if its declaring type is internal. This is fixed in HEAD since we don't include internal types anymore inside class hierarchies. Added regression test org.eclipse.pde.api.tools.comparator.tests.ClassDeltaTests#test137 Verified that removing an internal superclass does not report an error for change in superclass, bug filed bug 247703. |