Bug 112843

Summary: Cut blocked by background build
Product: [Eclipse Project] JDT Reporter: Michael Valenta <Michael.Valenta>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3 CC: daniel_megert
Version: 3.1   
Target Milestone: 3.2 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
VM trace of blocked UI none

Description Michael Valenta CLA 2005-10-17 15:26:32 EDT
I tried to do a cut from within a Java method while a build was taking place. 
The UI blocked totally. I have a fairly big workspace (>100 plugins) and it is 
being rebuilt from scratch so I have been waiting several minutes. Cutting 
should not block but, if it needs to, we should be showing the blocked dialog 
to let the user know that Eclipse is not dead. I will attach the stacktrace.
Comment 1 Michael Valenta CLA 2005-10-17 15:27:42 EDT
Created attachment 28355 [details]
VM trace of blocked UI
Comment 2 Dani Megert CLA 2005-10-18 02:55:56 EDT
We only wait for the AST. The Java model seems to take a workspace lock.
Comment 3 Jerome Lanneluc CLA 2005-11-14 11:41:10 EST
Changed SetClasspathOperation to not take any lock by overriding
getSchedulingRule() and returning null.
Comment 4 David Audel CLA 2005-12-12 11:35:17 EST
Verified for 3.2 M4 using build I20051212-0010