Bug 19035 Validating Javadoc location causes connection refused in .log
Build F2 1. Open properties of a Java project 2. Enter "" as Javadoc location 3. Press validate 4. Press Ok in the dialog Check the .log: !ENTRY org.eclipse.jdt.ui 4 1 Jun 04, 2002 15:35:15.453 !MESSAGE Internal Error !STACK 0 java.net.ConnectException: Connection refused: connect ....
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavadocConfigurationBlock.java
if (jdocLocation.length() > 0) {
			try {
				URL url= new URL(jdocLocation);
				if ("file".equals(url.getProtocol())) { 
					if (url.getFile() == null) {
						status.setError(JavaUIMessages.getString("JavadocConfigurationBlock.error.notafolder")); 
						return status;
					} else {
						File dir= new File(url.getFile());
						if (!dir.isDirectory()) {
							status.setError(JavaUIMessages.getString("JavadocConfigurationBlock.error.notafolder")); 
							return status;
						}
						File packagesFile= new File(dir, "package-list"); 
						if (!packagesFile.exists()) {
							status.setWarning(JavaUIMessages.getString("JavadocConfigurationBlock.warning.packagelistnotfound")); 
							
						}						
					}
				}
				fJavaDocLocation= url;
			} catch (MalformedURLException e) {
				status.setError(JavaUIMessages.getString("JavadocConfigurationBlock.MalformedURL.error"));  
				return status;
			}
		} else status.setWarning(JavaUIMessages.getString("JavadocConfigurationBlock.EmptyJavadocLocation.warning")); 
		return status;
	}
}