Bug 59030 Where did exit code 15 go?
Build: I-20040313 Once upon a time, if you launch Eclipse on a workspace that is already in use, the launch used to fail with exit code 15. The runtime would then display an informative message. Similarly, in the runtime workbench situation, PDE would display a message like: "Launch failed because the the workspace associated with the launch is currently in use". Right now, code 15 is gone. The launch will terminate with exit code 0 (of all things) with an error message from the runtime saying: "Error in runtime; workspace cannot be set. Exiting". The old behavior was more informative and more delicate. Also if it's an error as the dialog says, why is the exit code 0?
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEApplication.java
private static final String METADATA_FOLDER = ".metadata"; 
	private static final String VERSION_FILENAME = "version.ini"; 
	private static final String WORKSPACE_VERSION_KEY = "org.eclipse.core.runtime"; 
	private static final String WORKSPACE_VERSION_VALUE = "1"; 
	private static final int MIN_JVM_VERSION_MAJOR = 1;
	private static final int MIN_JVM_VERSION_MINOR = 4;
	private static final int MIN_JVM_VERSION_SERVICE = 1;
	/**
	 * Creates a new IDE application.
	 */
	public IDEApplication() {
		
	}
	/* (non-Javadoc)
	 * @see org.eclipse.core.boot.IPlatformRunnable#run(java.lang.Object)
	 */
	public Object run(Object args) throws Exception {
		
		Display display = PlatformUI.createDisplay();
		try {
			Shell shell = new Shell(display, SWT.ON_TOP);