Bug 67134 - [reconciling] leads to false compile errors if affected files are opened in tiled mode
Summary: [reconciling] leads to false compile errors if affected files are opened in t...
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
: 69449 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-14 17:15 EDT by Danny Dig CLA
Modified: 2018-12-10 12:10 EST (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 Danny Dig CLA 2004-06-14 17:15:10 EDT
Put your workbench into Multiple Editor state. In my case I have two vertical 
editors opened at once. In one of them I have class Bar and in the other I 
have class Foo, where:

public class Bar {
	void bar() {
	}
}


public class Foo {

	void foo() {
		Bar b = new Bar();
		b.bar();
	}
}

Go in the editor with the declaration of class Foo and select the reference to 
method bar() and perform a Rename refactoring on it (give it the new name 
bar123). 

Once the refactoring is done, the editor which displays class Foo (the one 
which calls the new method bar123()) will display a bogus compile error, 
namely that method bar123 is not declared in class Bar. If you click or edit 
in the editor with class Foo the compile error will vanish away.

The suggestion would be to force an update on all editors visible at a given 
time. 

Build id: 200406110010
Comment 1 Dirk Baeumer CLA 2004-06-14 17:24:34 EDT
This happens due to the fact that the reconciler only kicks in if the file 
gets focus to avoid unnecessary background activity.

Moving to Text to consider the suggestion to reconcile all "visible" editors.
Comment 2 Dani Megert CLA 2004-10-21 05:21:26 EDT
*** Bug 69449 has been marked as a duplicate of this bug. ***
Comment 3 Eclipse Genie CLA 2018-12-05 19:46:42 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 4 Dani Megert CLA 2018-12-10 12:10:04 EST
Works for me using https://download.eclipse.org/eclipse/downloads/drops4/S-4.10RC2-201812060815/