Bug 49353 Javadoc preference does not indicate bad exe until field is edited. [javadoc]
I upgarded from Sun Java 1.4.2_02 to 1.4.2_03. When I open the Javadoc preference page, the entry fields shows "C:\Java\sun\1.4.2_02\bin\javadoc.exe", which no longer exists but the error icon and message is NOT displayed at the top of the pane. If I edit the field but leave the entry still bogus, THEN the error icon and message appear. I think the error should appear as soon as the pane is displayed. Version 3.0.m6.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
} else if (curr instanceof IJavaProject) {
				fInputGroup.initialCheckTreeItem(curr);
			} else if (curr instanceof IPackageFragmentRoot) {
				IPackageFragmentRoot root= (IPackageFragmentRoot) curr;
				if (!root.isArchive())
					fInputGroup.initialCheckTreeItem(curr);
			}
		}
	}
	private IPath[] getSourcePath(IJavaProject[] projects) {
		HashSet res= new HashSet();
		
		for (int k= 0; k < projects.length; k++) {
			IJavaProject iJavaProject= projects[k];
			try {
				IPackageFragmentRoot[] roots= iJavaProject.getPackageFragmentRoots();
				for (int i= 0; i < roots.length; i++) {
					IPackageFragmentRoot curr= roots[i];
					if (curr.getKind() == IPackageFragmentRoot.K_SOURCE) {
						IResource resource= curr.getResource();
						if (resource != null) {
							IPath p= resource.getLocation();
							if (p != null) {
								res.add(p);
							}
						}
					}
				}
			} catch (JavaModelException e) {
				JavaPlugin.log(e);