Bug 126443 - Compilation error in MSLCrossReferenceAdapter blocking build
Summary: Compilation error in MSLCrossReferenceAdapter blocking build
Status: RESOLVED FIXED
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows XP
: P3 blocker
Target Milestone: ---   Edit
Assignee: GMF Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2006-02-03 20:57 EST by Richard Gronback CLA
Modified: 2010-07-19 12:23 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Gronback CLA 2006-02-03 20:57:54 EST
The following error is present using the latest EMF integration build (I20060202-0200):

The return type is incompatible with ECrossReferenceAdapter.getCrossReferenceAdapter(Notifier)MSLCrossReferenceAdapter.java	org.eclipse.gmf.runtime.emf.core/src/org/eclipse/gmf/runtime/emf/core/internal/index	line 552
Comment 1 Christian Damus CLA 2006-02-04 12:14:18 EST
Renamed the offending method to getMSLCrossReferenceAdapter.

Actually, this should not have been a compile error; looks like a bug in the JDT compiler.  Static methods cannot conflict in this way with different return types because they are not polymorphic.  The compiler generates invokeSpecial bytecodes that bind statically to the type and method, so there is never an issue of conflict.
Comment 2 Eclipse Webmaster CLA 2010-07-19 12:23:48 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime EMF was the original product and component for this bug