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 (packaglistFile.exists()) {
					if (MessageDialog.openConfirm(fShell, fTitle, fValidMessage)) { 
						spawnInBrowser(indexURL);
					}
					return;
				}
			}	
			MessageDialog.openInformation(fShell, fTitle, fInvalidMessage); 
		}
		public void spawnInBrowser(URL url) {
				OpenBrowserUtil.open(url, fShell, fTitle);
		}
		private void validateURL(URL indexURL, URL packagelistURL) {
			InputStream in = null;
			try {
				URLConnection connect = indexURL.openConnection();
				in = connect.getInputStream();
				in.close();
				connect = packagelistURL.openConnection();
				in = connect.getInputStream();
				if(MessageDialog.openConfirm(fShell, fTitle, fValidMessage)) 
					spawnInBrowser(indexURL);
			} catch (IOException e) {
				MessageDialog.openInformation(fShell, fTitle, fInvalidMessage); 
				JavaPlugin.log(e);
			}
		}
	}
	
	private class JDocConfigurationAdapter implements IStringButtonAdapter, IDialogFieldListener {