Bug 76283 [performance] Problems requested twice when opening a Java editor
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).
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaReconcilingStrategy.java
ast= unit.reconcile(ASTProvider.AST_LEVEL, true, null, fProgressMonitor);
								if (ast != null) {
									
									ASTNodes.setFlagsToAST(ast, ASTNode.PROTECT);
								}
							} else
								unit.reconcile(ICompilationUnit.NO_AST, true, null, fProgressMonitor);
						}
					} catch (OperationCanceledException ex) {
						Assert.isTrue(fProgressMonitor == null || fProgressMonitor.isCanceled());
						ast= null;
					}
					
					
					if (extension != null)
						extension.setProgressMonitor(null);
					
					
				} catch (JavaModelException x) {
					
				}
			}
		} finally {
			
			try {
				if (fIsJavaReconcilingListener) {
					IProgressMonitor pm= fProgressMonitor;
					if (pm == null)
						pm= new NullProgressMonitor();
					fJavaReconcilingListener.reconciled(ast, !fNotify, pm);