Community
Participate
Working Groups
The generated registerPackages contains if (!isInWorkspace(org.eclipse.emf.ecore.impl.EcorePackageImpl.class)) { resourceSet.getPackageRegistry().put(org.eclipse.emf.ecore.impl.EcorePackageImpl.eINSTANCE.getNsURI(), org.eclipse.emf.ecore.impl.EcorePackageImpl.eINSTANCE); } In the case of EcorePackage, this is poor style since eINSTANCE is an EcorePackage field. More generally this is a bug since the impl package may be internal.
The generated Java class will now use the interface instead of the "Impl" if we find one.