Community
Participate
Working Groups
I20050513-1415: Steps to reproduce: - Create workspace with all Eclipse plugins as linked binary plugin projects - Create new plugin project - Add all workspace plugins as dependencies - Create new class Test - Paste all members of class org.eclipse.jdt.internal.ui.javaeditor.JavaEditor into the test class - Invoke Organize Imports -> Workspace freezes. Organize imports is blocked in ICompilationUnit#reconcile because the JavaRecondiler holds the lock for the cu. The reconciling of the test class takes a very long time
Moving to JDT Text for comment as the JavaReconciler belongs there.
This report is about ICompilationUnit#reconcile(...) taking very long. I talked to Tobias and he confirms that the reconcile thread was working inside ICompilationUnit#reconcile(...) and he had to kill the workbench after waiting for more than 5 minutes. He also confirms that it was not a deadlock. Even if Organize Imports wouldn't sync on the CU the reconciling taking so long causes major inconsistencies in UI, e.g. views like Package Explorer and Outline being totally out of sync.
Reconcile has been greatly imporved lately. Please reopen if this is still an issue.