Bug 5028 - Outliner fails with sequence of declarations
Summary: Outliner fails with sequence of declarations
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Kai-Uwe Maetzel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-16 16:11 EDT by Jared Burns CLA
Modified: 2001-11-06 11:46 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jared Burns CLA 2001-10-16 16:11:52 EDT
1. Create this class:
public class Hello {
	int x;
	int y;
}
 Note that x and y both show up in the outliner correctly.
3. Delete the line "int y;".
 Note that y disappears from the outliner correctly.
4. Change line 2 to read "int x, y;"
 Note that y is added to the outliner correctly, but x
 vanishes erroneously.
From this state a number of erroneous states can be reached. For instance:
5. Revert line 2 to the original version ("int x;".
 Note that y disappears correctly but the outliner now
 appears empty despite the presence of x;
Comment 1 Kai-Uwe Maetzel CLA 2001-11-06 11:46:30 EST
Build > 207.