Bug 119038 - compiler sometimes doesn't terminate when resources are deleted
Summary: compiler sometimes doesn't terminate when resources are deleted
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.6.2   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 148190
Blocks:
  Show dependency tree
 
Reported: 2005-12-02 10:47 EST by Matt Chapman CLA
Modified: 2008-08-22 16:05 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Chapman CLA 2005-12-02 10:47:30 EST
As from bug 118699:
1. create the Spacewar Example
2. open an command prompt window and change to the Spacewar Example directory
3. back in eclipse, select the project, then project > clean > clean selected
4. *before* the autobuild completes, hit delete then select delete contents >
ok
   (if the compiler is too quick, choose a bigger project!!)
This results in a "problem deleting resources" dialog, and the build continues,
even after dismissing the dialog. Furthermore attempting to cancel the build
from the progress view fails.


The second problem can be addressed in AJDT, but the first seems to be a problem with the compiler, at least when it is involved via ajde - in this scenario the compiler doesn't at any point indicate back to AJDT that the compile has finished.
Comment 1 Helen Beeken CLA 2006-10-26 10:30:21 EDT
I've marked this as depending on bug 148190 since this is to do with the compiler being set off within a different thread when called from AJDE. AJDT has the requirement that this no longer happens since the result is that AJDT has to poll the compiler to see if its finished (inefficient). This will be addressed as part of bug 148190.

The problem with this bug is that sometimes the compiler fails and so the polling AJDT does never returns that it's finished.
Comment 2 Andrew Clement CLA 2007-10-23 11:47:38 EDT
check if fixed as the one it depends on is fixed
Comment 3 Andrew Clement CLA 2008-08-22 16:05:37 EDT
believed fixed.