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
return folder;
	}
	private Composite createMarkersTabContent(TabFolder folder) {
		String[] errorWarningIgnore= new String[] { ERROR, WARNING, IGNORE };
		
		String[] errorWarningIgnoreLabels= new String[] {
			PreferencesMessages.getString("CompilerConfigurationBlock.error"),  
			PreferencesMessages.getString("CompilerConfigurationBlock.warning"), 
			PreferencesMessages.getString("CompilerConfigurationBlock.ignore") 
		};
		
		String[] enabledDisabled= new String[] { ENABLED, DISABLED };
					
		Composite markersComposite= new Composite(folder, SWT.NULL);
		markersComposite.setLayout(new GridLayout());
		GridLayout layout= new GridLayout();
		layout.numColumns= 2;
		Group group= new Group(markersComposite, SWT.NONE);
		group.setText(PreferencesMessages.getString("CompilerConfigurationBlock.markers.deprecated.label"));
		group.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
		group.setLayout(layout);
		
		String label= PreferencesMessages.getString("CompilerConfigurationBlock.pb_deprecation.label"); 
		addComboBox(group, label, PREF_PB_DEPRECATION, errorWarningIgnore, errorWarningIgnoreLabels, 0);
		label= PreferencesMessages.getString("CompilerConfigurationBlock.pb_deprecation_in_deprecation.label"); 
		addCheckBox(group, label, PREF_COMPILER_PB_DEPRECATION_IN_DEPRECATED_CODE, enabledDisabled, 0);
		layout= new GridLayout();
		layout.numColumns= 2;
		group= new Group(markersComposite, SWT.NONE);
		group.setText(PreferencesMessages.getString("CompilerConfigurationBlock.markers.nls.label"));