Bug 14340 - error markers are not removed when file extension is changed
Summary: error markers are not removed when file extension is changed
Status: RESOLVED DUPLICATE of bug 2857
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 M4   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-22 12:56 EDT by John Wiegand CLA
Modified: 2002-11-21 11:59 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Wiegand CLA 2002-04-22 12:56:41 EDT
0418

Create a project p.
Create a class MyClass.
Introduce an error in MyClass by adding the following method (any error will do)
	public static void main(Str3ing[] args) {
	}
(This will cause an error to show up in the task list)
Rename MyClass.java to MyClass.bak
(The error will remain, and cannot be removed.

(I originally caused this to occur when renaming the compilation unit in the 
navigator before renaming to .bak)
Comment 1 Philipe Mulet CLA 2002-04-22 19:13:01 EDT
Not easy to do, since we are reacting to these changes in a POST_CHANGE event, 
where we cannot alter markers (rsc tree is locked).

Comment 2 Philipe Mulet CLA 2002-05-25 08:33:39 EDT
Will consider post 2.0
Comment 3 Jerome Lanneluc CLA 2002-11-21 11:58:27 EST
Reopening
Comment 4 Jerome Lanneluc CLA 2002-11-21 11:59:06 EST
Reopening
Comment 5 Jerome Lanneluc CLA 2002-11-21 11:59:20 EST

*** This bug has been marked as a duplicate of 2857 ***