Bug 304448 E4Workbench never locks the instance area
The E4Workbench never appears to lock the instance area for the workspace. This means multiple instances could be launched which use the same instance area. org.eclipse.e4.workbench.ui.internal.ResourceHandler.ResourceHandler(Location, URI, boolean, Logger) constructor gets the instance area URL but it never attempts to lock the instance area. Is this intentional or an oversight?
bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/E4Application.java
IEclipseContext next = (IEclipseContext) current
						.getLocal(IContextConstants.ACTIVE_CHILD);
				MPerspective candidate = null;
				while (next != null) {
					current = next;
					MPerspective perspective = current.get(MPerspective.class);
					if (perspective != null) {
						candidate = perspective;
					}
					next = (IEclipseContext) current
							.getLocal(IContextConstants.ACTIVE_CHILD);
				}
				if (candidate != null) {
					return candidate;
				}
				
				MUIElement window = (MUIElement) current.get(MWindow.class
						.getName());
				if (window == null) {
					log();
					IEclipseContext ctxt = (IEclipseContext) appContext
							.getLocal(IContextConstants.ACTIVE_CHILD);
					return ctxt.get(MWindow.class);
				}
				MElementContainer<?> parent = window.getParent();
				while (parent != null && !(parent instanceof MApplication)) {
					window = parent;
					parent = parent.getParent();
				}
				return window;