Project: SWT
Bug 332917 XULRunner path may not work for SWT browser
Reported: 2010-12-19 21:39:26 | Status: resolved fixed

Build Identifier: 3.4.2 If add -Dorg.eclipse.swt.browser.XULRunnerPath=${rcp.home}/rcp/eclipse/plugins/xulrunner in rcpinstall.properties. Because of the mix use of "/" and "\" in the XULRunnerpath, SWT browser is not able to find the XULRunner runtime. A simple test would be to create SWT browser instance with SWT.MOZILLA. This will lead to an exception in XPCOM. Suggested patch provided. Propose as an enhancement request. Reproducible: Always

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java