Bug 169695 - Compile error adornment left in editor tab
Summary: Compile error adornment left in editor tab
Status: VERIFIED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows NT
: P3 normal (vote)
Target Milestone: 3.3 M6   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-05 10:26 EST by Eric Moffatt CLA
Modified: 2007-03-20 11:00 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Moffatt CLA 2007-01-05 10:26:51 EST
Found in 3.3M4.

I was editing a file that had compile errors and decided to start over so I did a 'replace with latest from HEAD'. The file got replaced but the error adornment remained in the editor's tab (even though the file now compiled cleanly).

The adornment remained through multiple changes/saves/compiles but a close/reopen got rid of it.
Comment 1 Martin Aeschlimann CLA 2007-01-09 06:57:27 EST
I also saw this several time (although not in M4) but can't reproduce it. The important point is that the error marker (IMarker) was still on the file and even on modification of the file wasn't cleared.
So it's not a but in the edior, but either of the compiler or the platforn did not clean all the markers of the file to be recompiled.

Moving to jdt.core. Maybe they know more.
Comment 2 Olivier Thomann CLA 2007-01-09 11:22:58 EST
Eric,

Can you reproduce it?
Comment 3 Eric Jodet CLA 2007-01-09 11:55:13 EST
(In reply to comment #2)
Olivier,
did not manage to reproduce this problem using latest build.
Eric.

Comment 4 Olivier Thomann CLA 2007-02-19 09:21:05 EST
Closing as WORKSFORME.
Comment 5 Olivier Thomann CLA 2007-02-19 09:21:23 EST
Closing as WORKSFORME.
Comment 6 Olivier Thomann CLA 2007-03-20 11:00:01 EDT
Verified for 3.3 M6 using build I20070320-0010