Bug 3622 New Package Wizard has confusing message (1GD0L9O)
1. Create a new Java Project 2. Select the project. 3. Invoke New Java Package. Result: Before you type anything the following message appears at the top: "A folder corresponding to the package name already exists". At this point my package name field is empty. What does this message mean? Is this an error? If so, should it be displayed in red with the error icon? NOTES: EG (5/1/2001 5:53:41 AM) there should be no error message when the package name field is empty and finish should be disabled. MA (5/2/01 9:34:00 AM) It is a warning. I will remove the message EG (5/2/01 9:43:44 AM) issue how to create a default package? It can't be created by the user since it always there.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewPackageCreationWizardPage.java
return StatusUtil.getMoreSevere(fContainerStatus, fPackageStatus);
	}	
		
	
			
	/**
	 * Verify the input for the package field
	 */
	private IStatus packageChanged() {
		StatusInfo status= new StatusInfo();
		String packName= fPackageDialogField.getText();
		if (!"".equals(packName)) { 
			IStatus val= JavaConventions.validatePackageName(packName);
			if (val.getSeverity() == IStatus.ERROR) {
				status.setError(NewWizardMessages.getFormattedString("NewPackageCreationWizardPage.error.InvalidPackageName", val.getMessage())); 
				return status;
			} else if (val.getSeverity() == IStatus.WARNING) {
				status.setWarning(NewWizardMessages.getFormattedString("NewPackageCreationWizardPage.warning.DiscouragedPackageName", val.getMessage())); 
			}
		} else {
			status.setError(NewWizardMessages.getString("NewPackageCreationWizardPage.error.DefaultPackageExists")); 
			return status;
		}			
		IPackageFragmentRoot root= getPackageFragmentRoot();
		if (root != null) {
			IPackageFragment pack= root.getPackageFragment(packName);
			try {
				IPath rootPath= root.getPath();
				IPath outputPath= root.getJavaProject().getOutputLocation();
				if (rootPath.isPrefixOf(outputPath) && !rootPath.equals(outputPath)) {