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
String label= PreferencesMessages.getString("CompilerConfigurationBlock.compiler_compliance.label"); 
		addComboBox(group, label, PREF_COMPLIANCE, values34, values34Labels, 0);	
		label= PreferencesMessages.getString("CompilerConfigurationBlock.default_settings.label"); 
		addCheckBox(group, label, INTR_DEFAULT_COMPLIANCE, new String[] { DEFAULT_CONF, USER_CONF }, 0);	
		int indent= fPixelConverter.convertWidthInCharsToPixels(2);
		Control[] otherChildren= group.getChildren();	
				
		String[] versions, versionsLabels;
		if (JavaModelUtil.isJDTCore_1_5()) {
			versions= new String[] { VERSION_1_1, VERSION_1_2, VERSION_1_3, VERSION_1_4, VERSION_1_5 };
			versionsLabels= new String[] {
				PreferencesMessages.getString("CompilerConfigurationBlock.version11"),  
				PreferencesMessages.getString("CompilerConfigurationBlock.version12"), 
				PreferencesMessages.getString("CompilerConfigurationBlock.version13"), 
				PreferencesMessages.getString("CompilerConfigurationBlock.version14"), 
				PreferencesMessages.getString("CompilerConfigurationBlock.version15") 
			};
		} else {
			versions= new String[] { VERSION_1_1, VERSION_1_2, VERSION_1_3, VERSION_1_4 };
			versionsLabels= new String[] {
				PreferencesMessages.getString("CompilerConfigurationBlock.version11"),  
				PreferencesMessages.getString("CompilerConfigurationBlock.version12"), 
				PreferencesMessages.getString("CompilerConfigurationBlock.version13"), 
				PreferencesMessages.getString("CompilerConfigurationBlock.version14") 
			};
		}
		
		label= PreferencesMessages.getString("CompilerConfigurationBlock.codegen_targetplatform.label"); 
		addComboBox(group, label, PREF_CODEGEN_TARGET_PLATFORM, versions, versionsLabels, indent);	
		label= PreferencesMessages.getString("CompilerConfigurationBlock.source_compatibility.label");