Community
Participate
Working Groups
Let the CDOPackageRegistry maintain a cache of subtypes (the inverse of eClass.getEAllSuperTypes()). This is needed e.g., to support the resolution of polymorphic cross-references (see Bug 331619), but can be handy for all kinds of metamodel-related logic.
Created attachment 185506 [details] Patch-v1 Implementation of package registry subtype cache
Created attachment 185533 [details] Patch-v2 Final patch including testcase. To Review.
Created attachment 185534 [details] Patch-v3 Sorry. Something was messed up. The previous patch was incomplete. This one should be ok.
Committed to HEAD
Available in R20110608-1407
The master branch still have this bug.
(In reply to Xingxiao Lu from comment #6) > The master branch still have this bug. I am very sorry. The bug is https://bugs.eclipse.org/bugs/show_bug.cgi?id=331619
If you hit a problem in the master branch please submit a new bugzilla and describe the effect in detail (incl. stack traces if available).