Community
Participate
Working Groups
This is a regression for EMF 2.5 and earlier. EClass.isSuperTypeOf() and EClass.getEAllSuperTypes() no longer include/recognize the EObject eClass. Attaching JUnits that demonstrate the problem. They work in EMF 2.4 & 2.5, but fail in EMF 2.6
Created attachment 175580 [details] Junit demonstrating problems Attaching JUnit. Pre-2.6, getEAllSuperTypes for EPackage returned: EObject, EModelElement, ENamedElement With 2.6, it returns: EModelElement, ENamedElement This is not limited to EPackage. Every UML2 type and ECore type now excludes EObject.
This is intentional. See the discussion in https://bugs.eclipse.org/bugs/show_bug.cgi?id=255469.