Project: SWT
Bug 93691 Program.findProgram("html") fails with Firefox as the default browser
Reported: 2005-05-04 13:57:18 | Status: resolved fixed

On my Windows machine, Program.findProgram("html") returns null even though my default browser is correctly set to be Firefox. The problem is that the HKEY_CLASSES_ROOT\\FirefoxHTML key has no value, which makes the name parameter invalid. The fix is to use the name of the key (in this case, FirefoxHTML) instead of trying to look up a real name.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT Program/win32/org/eclipse/swt/program/Program.java