Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324207 - EMF 2.6 can't generate ValidationClass compatible with 2.4 runtime
Summary: EMF 2.6 can't generate ValidationClass compatible with 2.4 runtime
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: Tools (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dave Steinberg CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 324863 325566 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-01 10:45 EDT by Felix Velasco CLA
Modified: 2010-11-05 05:41 EDT (History)
3 users (show)

See Also:


Attachments
Proposed solution (1.09 KB, patch)
2010-09-01 10:48 EDT, Felix Velasco CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Velasco CLA 2010-09-01 10:45:16 EDT
Build Identifier: 20100617-1415 

When a 2.4 targeted runtime is selected in a genmodel, and model code is generated, the Validator classes created call validate_EveryBidirectionalReferenceIsPaired, that's not available in 2.4

Reproducible: Always

Steps to Reproduce:
Select a target platform with EMF 2.4, select a target emf runtime level of 2.4, and generate code in a model with validators. The generated validator class won't compile
Comment 1 Felix Velasco CLA 2010-09-01 10:48:38 EDT
Created attachment 177964 [details]
Proposed solution

In GenClassImpl, only one of the three compatibility conditions is applied, even if several should.
Comment 2 Ed Merks CLA 2010-09-04 12:44:02 EDT
The fix is committed to CVS for 2.6
Comment 3 Ed Merks CLA 2010-09-09 12:15:57 EDT
*** Bug 324863 has been marked as a duplicate of this bug. ***
Comment 4 Ed Merks CLA 2010-09-17 12:15:28 EDT
*** Bug 325566 has been marked as a duplicate of this bug. ***
Comment 5 Ed Merks CLA 2010-11-05 05:41:32 EDT
The fix is available in the latest build for the stream.