Bug 61052 - Flatten cp container initialization
Summary: Flatten cp container initialization
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 M9   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-05 10:27 EDT by Jerome Lanneluc CLA
Modified: 2004-05-18 13:40 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.