Bug 247731 [Browser] Eclipse requires restart after changing mozilla browser location in preferences
If a user tries to change the location of the Firefox executable in the "Web Browser" preference page, the user must restart Eclipse, but they are not told this. This is due to the MozillaFactory creating a single instance of a MozillaBrowser and never ensuring that the executable paths are the same. Changing this preference may look like it doesn't do anything (or that they did something wrong) to the user since their new preference value is not properly used.
bundles/org.eclipse.ui.browser/src/org/eclipse/ui/internal/browser/browsers/MozillaBrowser.java
+ url.substring(index + 1);
					index = url.indexOf(" "); 
				}
			}
		}
		else {
			url = ""; 
		}
		if (lastBrowserThread != null)
			lastBrowserThread.exitRequested = true;
		lastBrowserThread = new BrowserThread(url);
		lastBrowserThread.setDaemon(true);
		lastBrowserThread.start();
	}
	private class BrowserThread extends Thread {
		public boolean exitRequested = false;
		private String url;
		public BrowserThread(String urlName) {
			this.url = urlName;
		}
		/**
		 * @param browserCmd
		 * @return int 0 if success
		 */
		private int openBrowser(String browserCmd) {
			try {
				Process pr = Runtime.getRuntime().exec(browserCmd);
				StreamConsumer outputs = new StreamConsumer(pr.getInputStream());
				(outputs).start();
				StreamConsumer errors = new StreamConsumer(pr.getErrorStream());