Community
Participate
Working Groups
I20080827-0935 Attempting to fix a problem where a public class extends an internal class (i.e. by removing the extends), API Tools now reports an API breakage saying that the superclass has changed. Shouldn't it allow this "breakage" since it it fixing an invalid extends usage?
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.