Bug 29726 New compiler setting added: OPTION_ReportIncompatibleNonInheritedInterfaceMethod
JavaCore#OPTION_ReportIncompatibleNonInheritedInterfaceMethod COMPILER / Reporting Interface Method not Compatible with non-Inherited Methods When enabled, the compiler will issue an error or a warning whenever an interface defines a method incompatible with a non-inherited Object one. - option id: "org.eclipse.jdt.core.compiler.incompatibleNonInheritedInterfaceMeth od" - possible values: { "error", "warning", "ignore" } - default: "warning" --- FYI - we used to always be reporting an error, where we should not. Now we default to a warning - not critical for 2.1M5, default is likely the best anyway. test case: interface I { int clone(); // should only be a warning }
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerConfigurationBlock.java
GridLayout layout= new GridLayout();
		layout.numColumns= 2;
		Composite codeGenComposite= new Composite(folder, SWT.NULL);
		codeGenComposite.setLayout(layout);
		String label= PreferencesMessages.getString("CompilerConfigurationBlock.variable_attr.label"); 
		addCheckBox(codeGenComposite, label, PREF_LOCAL_VARIABLE_ATTR, generateValues, 0);
		
		label= PreferencesMessages.getString("CompilerConfigurationBlock.line_number_attr.label"); 
		addCheckBox(codeGenComposite, label, PREF_LINE_NUMBER_ATTR, generateValues, 0);		
		label= PreferencesMessages.getString("CompilerConfigurationBlock.source_file_attr.label"); 
		addCheckBox(codeGenComposite, label, PREF_SOURCE_FILE_ATTR, generateValues, 0);		
		label= PreferencesMessages.getString("CompilerConfigurationBlock.codegen_unused_local.label"); 
		addCheckBox(codeGenComposite, label, PREF_CODEGEN_UNUSED_LOCAL, new String[] { PRESERVE, OPTIMIZE_OUT }, 0);	
		
		return codeGenComposite;
	}
	
	private Composite createComplianceTabContent(Composite folder) {
		GridLayout layout= new GridLayout();
		layout.numColumns= 2;
		Composite complianceComposite= new Composite(folder, SWT.NULL);
		complianceComposite.setLayout(layout);
		String[] values34= new String[] { VERSION_1_3, VERSION_1_4 };
		String[] values34Labels= new String[] {
			PreferencesMessages.getString("CompilerConfigurationBlock.version13"),  
			PreferencesMessages.getString("CompilerConfigurationBlock.version14") 
		};
		
		String label= PreferencesMessages.getString("CompilerConfigurationBlock.compiler_compliance.label"); 
		addComboBox(complianceComposite, label, PREF_COMPLIANCE, values34, values34Labels, 0);