Project: JDT
Bug 76283 [performance] Problems requested twice when opening a Java editor
Reported: 2004-10-14 12:53:45 | Status: resolved fixed

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).

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/IProblemRequestorExtension.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaReconcilingStrategy.java