Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 346881

Summary: Unnecessary validator code generated for invariant operations
Product: [Modeling] EMF Reporter: Kenn Hussey <Kenn.Hussey>
Component: ToolsAssignee: Kenn Hussey <Kenn.Hussey>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Ed.Merks
Version: 2.7.0Flags: Kenn.Hussey: indigo+
Ed.Merks: pmc_approved+
Ed.Merks: review+
Target Milestone: RC3   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Bug Depends on:    
Bug Blocks: 323181    
Attachments:
Description Flags
proposed patch Kenn.Hussey: review?

Description Kenn Hussey CLA 2011-05-23 11:54:16 EDT
In cases where an invariant operation is overridden in a subclass, default code is generated in the validator instead of calling the (overridden) operation.
Comment 1 Kenn Hussey CLA 2011-05-23 11:59:41 EDT
Created attachment 196355 [details]
proposed patch
Comment 2 Kenn Hussey CLA 2011-05-23 13:47:45 EDT
The proposed fix has been committed to CVS.
Comment 3 Ed Merks CLA 2011-06-02 11:40:18 EDT
The fix is available in 3.7RC3 and later.