Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
Windows XP SP2 w/Sun JDK 1.4.2_11
Description
I have a schema with a complexType named "Descriptor".
The generated FactoryImpl.java class includes the following code which does not compile because the return type "org.eclipse.emf.ecore.EPackage.Descriptor" is not compatible with Factory.createDescriptor() with return type "myNamespace.Descriptor":
public Descriptor createDescriptor()
{
DescriptorImpl descriptor = new DescriptorImpl();
return descriptor;
}
I suspect this is an EMF bug but I am reporting it here.