Project: JDT
Bug 342391 New Java Project wizard and 'Java Compiler' property page misleading when 1.7 EE is used
Reported: 2011-04-11 02:49:59 | Status: resolved fixed

HEAD. The 'Java Compiler' preference/property page is misleading when a 'JavaSE-1.7' EE is used on a project: it says that we use the compliance from the EE but we don't support 1.7 compliance. Though we show '1.6' below this can be misleading, especially when one creates a new Java projects and selects 'JavaSE-1.7'. We should show a warning on that page and also on the new Java project wizard.

Files changed in fix:
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JavaModelUtil.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ComplianceConfigurationBlock.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/PreferencesMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewJavaProjectWizardPageOne.java