Bug 92588

Summary: Full build in reaction to beginRule failure
Product: [Eclipse Project] JDT Reporter: Philipe Mulet <philippe_mulet>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Philipe Mulet CLA 2005-04-25 10:55:44 EDT
I20050420-1200

Due to decorator bug 86628, classpath container initialization may fail in the
middle. Subsequent initialization may succeed, however a full build gets
triggered, though it could have performed incrementally.

Suspecting CP init failure to leave us in an inconsistent state, causing
subsequent build to be a full build.
Comment 1 Jerome Lanneluc CLA 2005-04-25 11:36:58 EDT
Changed JavaModelManager#initializeContainer(...) to remove the
CONTAINER_INITIALIZATION_IN_PROGRESS marker only if an exception is raised
during the initialization. The previous session container remains. This will
prevent unwanted roots delta to happen and causing a full build.
Comment 2 Frederic Fusier CLA 2005-05-12 08:00:20 EDT
Verified for 3.1 M7 using build I20050509-2010 + jdt.core HEAD.