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
if (VERSION_1_4.equals(source)) {
			if (VERSION_1_1.equals(target) || VERSION_1_2.equals(target) || VERSION_1_3.equals(target)) {
				status.setError(PreferencesMessages.getString("CompilerConfigurationBlock.src14tgt14.error")); 
				return status;
			}
		} else if (VERSION_1_5.equals(source)) {
			if (!VERSION_1_5.equals(target)) {
				status.setError(PreferencesMessages.getString("CompilerConfigurationBlock.src15tgt15.error")); 
				return status;
			}
		}
		return status;
	}
	
	private IStatus validateMaxNumberProblems() {
		String number= (String) fWorkingValues.get(PREF_PB_MAX_PER_UNIT);
		StatusInfo status= new StatusInfo();
		if (number.length() == 0) {
			status.setError(PreferencesMessages.getString("CompilerConfigurationBlock.empty_input")); 
		} else {
			try {
				int value= Integer.parseInt(number);
				if (value <= 0) {
					status.setError(PreferencesMessages.getFormattedString("CompilerConfigurationBlock.invalid_input", number)); 
				}
			} catch (NumberFormatException e) {
				status.setError(PreferencesMessages.getFormattedString("CompilerConfigurationBlock.invalid_input", number)); 
			}
		}
		return status;