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
monitor.worked(2);
			}
			if (monitor.isCanceled()) {
				throw new OperationCanceledException();
			}
			
            init(JavaCore.create(fCurrProject), outputLocation, entries, false);
			configureJavaProject(new SubProgressMonitor(monitor, 3)); 
		} finally {
			monitor.done();
		}
	}
	
	private IClasspathEntry[] getDefaultClasspathEntry() {
		IClasspathEntry[] defaultJRELibrary= PreferenceConstants.getDefaultJRELibrary();
		String compliance= fFirstPage.getJRECompliance();
		IPath jreContainerPath= new Path(JavaRuntime.JRE_CONTAINER);
		if (compliance == null || defaultJRELibrary.length > 1 || !jreContainerPath.isPrefixOf(defaultJRELibrary[0].getPath())) {
			
			return defaultJRELibrary;
		}
		
		IVMInstall inst= BuildPathSupport.findMatchingJREInstall(compliance);
		if (inst != null) {
			IPath newPath= jreContainerPath.append(inst.getVMInstallType().getId()).append(inst.getName());
			return new IClasspathEntry[] { JavaCore.newContainerEntry(newPath) };
		}
		return defaultJRELibrary;
	}