Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321351 - [Regression] isSuperTypeOf and getEAllSuperTypes no longer include EObject
Summary: [Regression] isSuperTypeOf and getEAllSuperTypes no longer include EObject
Status: RESOLVED INVALID
Alias: None
Product: EMF
Classification: Modeling
Component: Core (show other bugs)
Version: 2.6.0   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Ed Merks CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-30 10:31 EDT by Paul Elder CLA
Modified: 2010-07-30 10:42 EDT (History)
0 users

See Also:


Attachments
Junit demonstrating problems (1.21 KB, text/plain)
2010-07-30 10:34 EDT, Paul Elder CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Elder CLA 2010-07-30 10:31:01 EDT
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
Comment 1 Paul Elder CLA 2010-07-30 10:34:06 EDT
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.
Comment 2 Ed Merks CLA 2010-07-30 10:42:57 EDT
This is intentional.  See the discussion in https://bugs.eclipse.org/bugs/show_bug.cgi?id=255469.