Bug 7487 Classpath variable edit error message wrong
Using build 2002-01-09 on Windows 2000 From the prefrerence dialog, I opened the page Java > Classpath Variables. I selected the ECLIPSE_HOME variable and pressed Edit. The content came up as ECLIPSE_HOME D:/eclipse-sdk/2001-12-04/eclipse I started editing the path by removing the 2001-12-04 section D:/eclipse-sdk//eclipse At that point I got the following red error message at the bottom of the dialog !VariableCreationDialogerror.invalidpath!
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableCreationDialog.java
FileDialog dialog= new FileDialog(getShell());
		dialog.setText(NewWizardMessages.getString("VariableCreationDialog.extjardialog.text")); 
		dialog.setFilterExtensions(new String[] {"*.jar;*.zip"}); 
		dialog.setFilterPath(initPath);
		String res= dialog.open();
		if (res != null) {
			fDialogSettings.put(IUIConstants.DIALOGSTORE_LASTEXTJAR, dialog.getFilterPath());
			return new Path(res).makeAbsolute();
		}
		return null;
	}
	
	private IPath chooseExtDirectory() {
		String initPath= getInitPath();
		
		DirectoryDialog dialog= new DirectoryDialog(getShell());
		dialog.setText(NewWizardMessages.getString("VariableCreationDialog.extdirdialog.text")); 
		dialog.setMessage(NewWizardMessages.getString("VariableCreationDialog.extdirdialog.message")); 
		dialog.setFilterPath(initPath);
		String res= dialog.open();
		if (res != null) {
			fDialogSettings.put(IUIConstants.DIALOGSTORE_LASTEXTJAR, dialog.getFilterPath());
			return new Path(res);
		}
		return null;		
	}
	
		
	
}