Bug 112843 - Cut blocked by background build
Summary: Cut blocked by background build
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 3.2 M4   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-17 15:26 EDT by Michael Valenta CLA
Modified: 2005-12-12 11:35 EST (History)
1 user (show)

See Also:


Attachments
VM trace of blocked UI (716.75 KB, text/plain)
2005-10-17 15:27 EDT, Michael Valenta CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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