Bug 76283 - [performance] Problems requested twice when opening a Java editor
Summary: [performance] Problems requested twice when opening a Java editor
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M3   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2004-10-14 12:53 EDT by Jerome Lanneluc CLA
Modified: 2004-10-21 07:48 EDT (History)
1 user (show)

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-10-14 12:53:45 EDT
I20041013

When opening a Java editor, problems are requested once during
ICompilationUnit#becomeWorkingCopy and once during ICompilationUnit#reconcile.

The IProblemRequestor should be disabled during #becomeWorkingCopy so as to
avoid to compute problems (which involves the full resolution of the working copy).
Comment 1 Dani Megert CLA 2004-10-14 13:17:15 EDT
see also bug 76287
Comment 2 Dani Megert CLA 2004-10-19 04:02:16 EDT
see also bug 76457
Comment 3 Dani Megert CLA 2004-10-21 07:48:35 EDT
Fixed in HEAD.
Available in builds > 20041021

Note: clients calling reconcile(...) and expecting an AST will now be broken
i.e. they will not get an AST. See bug 76738.