Bug 35386

Summary: Too many refresh when attaching source from the classfile editor
Product: [Eclipse Project] JDT Reporter: Olivier Thomann <Olivier_Thomann>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Olivier Thomann CLA 2003-03-20 12:18:07 EST
Use steps from bug 35352 and apply the patch to JDT/Core.

When you attach the source to Applet.class, the outliner is flickering and there
is a lot of calls to getSourceRange().
I will attach two stack traces.
The first one when the Applet.class is open without any source attached.
The second is retrieved while the source is attached.

The whole operation takes about 15 seconds. This is too slow and the outliner is
flickering a lot trying to refresh.
Comment 1 Olivier Thomann CLA 2003-03-20 22:35:50 EST
This is a serious problem. The getSourceRange() method is called about 100 times.
Comment 2 Kai-Uwe Maetzel CLA 2003-03-24 08:45:51 EST

*** This bug has been marked as a duplicate of 35236 ***