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
private static final int IDX_SOURCE_COMPATIBILITY= 2;
	private static final int IDX_CODEGEN_TARGET_PLATFORM= 3;
	private static final int IDX_COMPLIANCE= 4;
	private static final int IDX_INLINE_JSR_BYTECODE= 5;
	private IStatus fComplianceStatus, fMaxNumberProblemsStatus, fResourceFilterStatus;
	public CompilerConfigurationBlock(IStatusChangeListener context, IJavaProject project) {
		super(context, project, getKeys());
		
		fComplianceControls= new ArrayList();
			
		fComplianceStatus= new StatusInfo();
		fMaxNumberProblemsStatus= new StatusInfo();
		fResourceFilterStatus= new StatusInfo();
		
		 
		if (ENABLED.equals(fWorkingValues.get(PREF_PB_SIGNAL_PARAMETER_IN_ABSTRACT))) {
			fWorkingValues.put(PREF_PB_SIGNAL_PARAMETER_IN_OVERRIDING, ENABLED);
		}
		fRememberedUserCompliance= new String[] { 
			(String) fWorkingValues.get(PREF_PB_ASSERT_AS_IDENTIFIER),
			(String) fWorkingValues.get(PREF_PB_ENUM_AS_IDENTIFIER),
			(String) fWorkingValues.get(PREF_SOURCE_COMPATIBILITY),
			(String) fWorkingValues.get(PREF_CODEGEN_TARGET_PLATFORM),
			(String) fWorkingValues.get(PREF_COMPLIANCE),
			(String) fWorkingValues.get(PREF_CODEGEN_INLINE_JSR_BYTECODE),
		};
	}
	
	private static String[] getKeys() {
		String[] keys= new String[] {