Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346183 - Compile errors with redefined operations and minimal reflective methods
Summary: Compile errors with redefined operations and minimal reflective methods
Status: CLOSED FIXED
Alias: None
Product: MDT.UML2
Classification: Modeling
Component: Core (show other bugs)
Version: 3.2.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 major (vote)
Target Milestone: RC2   Edit
Assignee: Kenn Hussey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-17 22:56 EDT by Kenn Hussey CLA
Modified: 2011-05-31 10:34 EDT (History)
0 users

See Also:
Kenn.Hussey: indigo+
Kenn.Hussey: pmc_approved+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenn Hussey CLA 2011-05-17 22:56:40 EDT
When the UML2 code generator is used to generate code for a (UML) model containing redefined operations with the "minimal reflective methods" option turned on, compilation errors occur in eInvoke(...) implementations. The reason is that "duplicate" operations are considered different from the operations they redefine and so the "unique name" that is assigned to them is different from the original (it is mangled).

The fix here is to use the UML2 code generator to use the same unique name for duplicate operations as for the redefined operations, so that the generated references to operation metadata are correct.
Comment 1 Kenn Hussey CLA 2011-05-17 23:00:34 EDT
The fix has been committed to CVS.
Comment 2 Kenn Hussey CLA 2011-05-23 14:22:16 EDT
Fix available in RC2 build.
Comment 3 Kenn Hussey CLA 2011-05-31 10:34:50 EDT
Closing for Indigo release.