Bug 61052

Summary: Flatten cp container initialization
Product: [Eclipse Project] JDT Reporter: Jerome Lanneluc <jerome_lanneluc>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.0 M9   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Jerome Lanneluc CLA 2004-05-05 10:27:11 EDT
I20040505

While investigating bug 57181, we noticed that the container initialization 
can be highly recursive if clients missbehave. This can potential blow the 
stack and cause a StackOverflowError.

We should protect ourselves against such clients and flatten the container 
initialization.
Comment 1 Jerome Lanneluc CLA 2004-05-06 06:21:10 EDT
Change container initialization to batch all container initializations the 
first time a container is initialized, and each time a project is 
added/removed, or its classpath changes.

Added regression test ClasspathInitializerTests.testContainerInitializer8().
Comment 2 Frederic Fusier CLA 2004-05-18 13:40:04 EDT
Verified for 3.0 M9 with build I200405180816.