Bug 103026 When detected a 1.5 JDK on a fresh workspace as a default the default compiler complaince should be switch to 5.0
3.1 Compiling with compiler complaince 1.4 against a 5.0 VM can cause some trouble with covariant return types. Therefore when detecting the default VM for a fresh workspace the launching plug-in should switch the default compiler compliance to 5.0 when a 1.5 VM is detected.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/JavaProjectWizardFirstPage.java
private final PageBook fPageBook;
		private final Control fDetectText, fJRE50Text;
		private boolean fDetect, fShowJREInfo;
		
		public DetectGroup(Composite composite) {
			fPageBook= new PageBook(composite, SWT.NONE);
			fPageBook.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, true));
			
			Link detectText= new Link(fPageBook, SWT.WRAP);
			GridData gd= new GridData(GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL);
			gd.widthHint= convertWidthInCharsToPixels(50);
			detectText.setLayoutData(gd);
			detectText.setFont(composite.getFont());
			detectText.setText(NewWizardMessages.JavaProjectWizardFirstPage_DetectGroup_message);
			fDetectText= detectText;
			
			Link jre50Text= new Link(fPageBook, SWT.WRAP);
			jre50Text.setText(NewWizardMessages.JavaProjectWizardFirstPage_DetectGroup_jre_message);
			jre50Text.setFont(composite.getFont());
			jre50Text.addSelectionListener(this);
			gd= new GridData(GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL);
			gd.widthHint= convertWidthInCharsToPixels(50);
			jre50Text.setLayoutData(gd);
			fJRE50Text= jre50Text;