Project: JDT
Bug 368452 Full rebuild is asked on compiler options changed even when workspace is empty
Reported: 2012-01-12 09:44:38 | Status: resolved fixed

Build Identifier: Version: Indigo Service Release 1 Build id: 20110916-0149 When a compiler option has been changed (through Preferences / Java / Compiler / Errors/Warnings), a dialog box appears and tells you that The Error/Warning settings have changed and that A full rebuild is required for changes to take effect and asks you if you want to Do the full build now. The question should not be asked when the workspace contains no project to possibly rebuild. Reproducible: Always Steps to Reproduce: 1. Grab a fresh eclipse install. (Optional, but just to be sure.) 2. Start eclipse, pointing it to a blank, new workspace directory. (So that it starts with no projects.) 3. Go straight to Preferences, change some Java compiler option, e.g., ask for Include 'assert' in null analysis. Click Apply or OK.

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/OptionsConfigurationBlock.java