Bug 9601 Open external JavaDoc does not work correctly with Netscape 4.76
Test Case: 0) Have Netscape 4.76 registered as system default browser. 1) Have JRE_LIB of 20020212-I in workspace 2) Context Menu -> Properties: Attach documentation location: 'M:\java\jdk1.2\docs\api\' 3) Verify that Netscape is not running. 4) Context Menu -> Open External Javadoc 5) Observer the error dialog: Cannot find the file 'file:/M:/JAVA/jdk1.2/docs/api/overview-summary.html' ... However, the html file is actually displayed. 6) Close the error dialog. 7) Browse to some other page in Netscape. 8) Do step 4) again. 9) The correct page is displayed w/o an error dialog.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OpenExternalJavadocAction.java
public void run() {
		Object selected= getSelectedElement();
		if (!(selected instanceof IJavaElement)) {
			return;
		}
		
		IJavaElement jelem= (IJavaElement) selected;
		Shell shell= JavaPlugin.getActiveWorkbenchShell();
		try {
			String labelName= JavaElementLabels.getElementLabel(jelem, JavaElementLabels.M_PARAMETER_TYPES);
			
			URL baseURL= JavaDocLocations.getJavadocBaseLocation(jelem);
			if (baseURL == null) {
				IPackageFragmentRoot root= JavaModelUtil.getPackageFragmentRoot(jelem);
				if (root != null && root.getKind() == IPackageFragmentRoot.K_BINARY) {
					String message= "The documentation location for ''{0}'' has not been configured. For elements from libraries specify the Javadoc location URL on the property page of the parent JAR (''{1}'').";	
					showError(shell, MessageFormat.format(message, new String[] { labelName, root.getElementName() }));
				} else {
					IJavaElement annotatedElement= jelem.getJavaProject();
					String message= "The documentation location for ''{0}'' has not been configured. For elements from source specify the Javadoc location URL on the property page of the parent project (''{1}'').";	
					showError(shell, MessageFormat.format(message, new String[] { labelName, annotatedElement.getElementName() }));
				}
				return;
			}
			if ("file".equals(baseURL.getProtocol())) {
				URL noRefURL= JavaDocLocations.getJavaDocLocation(jelem, false);
				if (!(new File(noRefURL.getFile())).isFile()) {
					String message= "No documentation available for ''{0}'' in ''{1}''.";
					showError(shell, MessageFormat.format(message, new String[] { labelName, baseURL.toExternalForm() }));