Community
Participate
Working Groups
In UMLSwitch, the RedefinableElement is coming after the NamedElement and Element cases for some elements. This is wrong: as the most general base types in UML, NamedElement and Element should be the last cases. The issue was found in Port, Reception, BehavioralFeature, Operation, Property and possibly more. Bug 265365 fixed the ordering problem was fixed in EMF. The UML metamodel must be regenerated to pick up this fix.
Thanks Dave, I'll regenerate UML2. I believe this may impact anyone who depends on generated switch statements. Should others be notified of this change?
I'm not sure that this is more or less deserving of attention than any other bug in generated code that we've fixed before. If people are affected by this problem, it will be fixed for them when they regenerate. If they aren't, they won't notice. Given that it took so long for the bug to be reported, I would guess most people fall in the latter category.
Committed Feb 27 2009
.