Bug 20674 JavaCapabilityConfigurationPage.init is not clearing the default path when classpath already exists
F4 JavaCapabilityConfigurationPage.init: The doc states that when defaultsOverrideExistingClasspath is set to false and a .classpath file already exists the setting from the classpath file is taken. code is defaultOutputLocation= null; defaultOutputLocation= null; is meant to be defaultOutputLocation= null; defaultEntries= null; Class is API and this bug would prevent cliants from using the functionality. No dependences so far, fix is riskless.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/JavaCapabilityConfigurationPage.java
throw new InvocationTargetException(e);
					}
				}
			};
		}
		return null;	
	}
	
	/**
	 * Adds the Java nature to the project (if not yet set) and configures the build class paths
	 */
	public void configureJavaProject(IProgressMonitor monitor) throws CoreException, InterruptedException {
		if (monitor == null) {
			monitor= new NullProgressMonitor();
		}
		
		int nSteps= 5;			
		monitor.beginTask(NewWizardMessages.getString("JavaCapabilityConfigurationPage.op_desc"), nSteps); 
		
		try {
			IProject project= getJavaProject().getProject();
			fBuildPathsBlock.addJavaNature(project, new SubProgressMonitor(monitor, 1));
			fBuildPathsBlock.configureJavaProject(new SubProgressMonitor(monitor, 5));
		} finally {
			monitor.done();
		}			
	}
	
}