Project: Eclipse_Platform_UI
Bug 311722 E4XMIResource's getUniqueId() is implemented incorrectly
Reported: 2010-05-05 09:48:21 | Status: resolved fixed

private String getUniqueId() { String id = createId(); while (objectMap.get(id) != null) { id = createId(); } return id; } Here, 'objectMap' is a Map<EObject, String> but we use a String as a key. This is obviously wrong.

Files changed in fix:
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/internal/E4XMIResource.java