Bug 99471 JDK compliance on New Java project wizard doesn't change compiler compliance
I20050610-1200 - create a new workspace - install a 1.4 and a 1.5 JDK - open new project wizard o select a specific compliance. Choose 5.0 Observe: the JDK is set to 1.5 however the compiler compliance for the project is left on 1.4. Martin, am I missing something her
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/JavaProjectWizardSecondPage.java
if (fDotClasspathBackup != null) {
				File classpathFile= new File(projectLocation, FILENAME_CLASSPATH);
				if (classpathFile.delete()) {
					copyFile(fDotClasspathBackup, classpathFile);
				}
			}
		} catch (IOException e) {
			IStatus status= new Status(IStatus.ERROR, JavaUI.ID_PLUGIN, IStatus.ERROR, NewWizardMessages.JavaProjectWizardSecondPage_problem_restore_classpath, e); 
			throw new CoreException(status);
		}
	}
	
	private File createBackup(File file, String name) throws CoreException {
		try {
			File bak= File.createTempFile("eclipse-" + name, "bak");  
			copyFile(file, bak);
			return bak;
		} catch (IOException e) {
			IStatus status= new Status(IStatus.ERROR, JavaUI.ID_PLUGIN, IStatus.ERROR, Messages.format(NewWizardMessages.JavaProjectWizardSecondPage_problem_backup, name), e); 
			throw new CoreException(status);
		} 
	}
			
	private void copyFile(File file, File target) throws IOException {		
		FileInputStream is= new FileInputStream(file);
		FileOutputStream os= new FileOutputStream(target);
		try {
			byte[] buffer = new byte[8192];
			while (true) {
				int bytesRead= is.read(buffer);