Bug 79321 Compiler preference page: disabling default compliance settings should leave 'disallow' combos disabled
I200411230838 and before: - Preferences > Java > Compiler: set compiler compliance level to 5.0 and check 'Use default compliance settings'. - Uncheck it again => the two 'Disallow identifiers...' combos become enabled - they should stay disabled with setting 'Error'. - Set source compatibility to 1.4 and back to 5.0 => 'Disallow ...' are OK now.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerConfigurationBlock.java
boolean enableMissingCommentsErrors= !checkValue(PREF_PB_MISSING_JAVADOC_COMMENTS, IGNORE);
		getCheckBox(PREF_PB_MISSING_JAVADOC_COMMENTS_OVERRIDING).setEnabled(enableMissingCommentsErrors);
		setComboEnabled(PREF_PB_MISSING_JAVADOC_COMMENTS_VISIBILITY, enableMissingCommentsErrors);
	}
	private IStatus validateCompliance() {
		StatusInfo status= new StatusInfo();
		String compliance= (String) fWorkingValues.get(PREF_COMPLIANCE);
		String source= (String) fWorkingValues.get(PREF_SOURCE_COMPATIBILITY);
		String target= (String) fWorkingValues.get(PREF_CODEGEN_TARGET_PLATFORM);
		
		if (VERSION_1_3.equals(compliance)) {
			if (VERSION_1_4.equals(source) || VERSION_1_5.equals(source)) {
				status.setError(PreferencesMessages.getString("CompilerConfigurationBlock.cpl13src145.error")); 
				return status;
			} 
			if (VERSION_1_4.equals(target) || VERSION_1_5.equals(target)) {
				status.setError(PreferencesMessages.getString("CompilerConfigurationBlock.cpl13trg145.error")); 
				return status;
			}
		} else if (VERSION_1_4.equals(compliance)) {
			if (VERSION_1_5.equals(source)) {
				status.setError(PreferencesMessages.getString("CompilerConfigurationBlock.cpl14src15.error")); 
				return status;
			} 
			if (VERSION_1_5.equals(target)) {
				status.setError(PreferencesMessages.getString("CompilerConfigurationBlock.cpl14trg15.error")); 
				return status;
			}			
		}