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
Label separator= new Label(composite, SWT.HORIZONTAL);
		gd= new GridData(GridData.HORIZONTAL_ALIGN_FILL);
		gd.horizontalSpan= nColumns;
		separator.setLayoutData(gd);
		
		label = PreferencesMessages.getString("CompilerConfigurationBlock.pb_missing_javadoc.label"); 
		addComboBox(composite, label, PREF_PB_MISSING_JAVADOC_TAGS, errorWarningIgnore, errorWarningIgnoreLabels, 0);
		label = PreferencesMessages.getString("CompilerConfigurationBlock.pb_missing_javadoc_tags_visibility.label"); 
		addComboBox(composite, label, PREF_PB_MISSING_JAVADOC_TAGS_VISIBILITY, visibilities, visibilitiesLabels, indent);
		
		label= PreferencesMessages.getString("CompilerConfigurationBlock.pb_missing_javadoc_tags_overriding.label"); 
		addCheckBox(composite, label, PREF_PB_MISSING_JAVADOC_TAGS_OVERRIDING, enabledDisabled, indent);
		separator= new Label(composite, SWT.HORIZONTAL);
		gd= new GridData(GridData.HORIZONTAL_ALIGN_FILL);
		gd.horizontalSpan= nColumns;
		separator.setLayoutData(gd);
		
		label = PreferencesMessages.getString("CompilerConfigurationBlock.pb_missing_comments.label"); 
		addComboBox(composite, label, PREF_PB_MISSING_JAVADOC_COMMENTS, errorWarningIgnore, errorWarningIgnoreLabels, 0);
		label = PreferencesMessages.getString("CompilerConfigurationBlock.pb_missing_comments_visibility.label"); 
		addComboBox(composite, label, PREF_PB_MISSING_JAVADOC_COMMENTS_VISIBILITY, visibilities, visibilitiesLabels, indent);
		
		label= PreferencesMessages.getString("CompilerConfigurationBlock.pb_missing_comments_overriding.label"); 
		addCheckBox(composite, label, PREF_PB_MISSING_JAVADOC_COMMENTS_OVERRIDING, enabledDisabled, indent);
		return outer;
	}
	
	private Composite createBuildPathTabContent(TabFolder folder) {
		String[] abortIgnoreValues= new String[] { ABORT, IGNORE };
		String[] cleanIgnoreValues= new String[] { CLEAN, IGNORE };