Bug 547251 - Compilation issues with EMF 2.14+
Summary: Compilation issues with EMF 2.14+
Status: NEW
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 critical
Target Milestone: 1.12.1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-14 08:33 EDT by Pierre-Charles David CLA
Modified: 2019-05-14 08:33 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 Pierre-Charles David CLA 2019-05-14 08:33:14 EDT
EMF 2.14 added a public org.eclipse.emf.edit.ui.provider.PropertySource.getObject() and org.eclipse.emf.edit.ui.provider.PropertyDescriptor.getObject() (both simply do "return object"), which conflicts with the identical, but *protected* versions that exist in org.eclipse.gmf.runtime.emf.ui.properties.descriptors.EMFCompositePropertySource and org.eclipse.gmf.runtime.emf.ui.properties.descriptors.EMFCompositeSourcePropertyDescriptor.

The versions in GMF are identical and return the same "object" field defined in the EMF classes, but they must be made public to avoid "Cannot reduce the visibility of the inherited method from Property{Source,Descriptor}" compilation errors.