Bug 70103 [1.5] Want v1.4 source code compatibility and v1.5 class files
Using Eclipse 3.0GA and Cheetah 0.0.6: Window -> Preferences -> Java -> Compiler -> Compliance and Classfiles Make the following settings: Compiler compliance level: 1.5 Generated .class file compatibility: 1.5 Source compatibility: 1.4 Current results: Error: "When source code compatibility is 1.4, the classfile compatibility has to be 1.4." Expected results: My settings should have been accepted.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerConfigurationBlock.java
item= new TabItem(folder, SWT.NONE);
		item.setText(PreferencesMessages.getString("CompilerConfigurationBlock.compliance.tabtitle")); 
		item.setControl(complianceComposite);
		
		item= new TabItem(folder, SWT.NONE);
		item.setText(PreferencesMessages.getString("CompilerConfigurationBlock.others.tabtitle")); 
		item.setControl(othersComposite);		
		
		if (JavaModelUtil.isJDTCore_1_5()) {
			Composite extraComposite= create15TabContent(folder);
			
			item= new TabItem(folder, SWT.NONE);
			item.setText(PreferencesMessages.getString("CompilerConfigurationBlock.15.tabtitle")); 
			item.setControl(extraComposite);		
		}
		
		validateSettings(null, null);
	
		return folder;
	}
	private Composite createStyleTabContent(Composite folder) {
		String[] errorWarningIgnore= new String[] { ERROR, WARNING, IGNORE };
		
		String[] errorWarningIgnoreLabels= new String[] {
			PreferencesMessages.getString("CompilerConfigurationBlock.error"),  
			PreferencesMessages.getString("CompilerConfigurationBlock.warning"), 
			PreferencesMessages.getString("CompilerConfigurationBlock.ignore") 
		};
		
		int nColumns= 3;