[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] A VERY STRANGE Error

I have a test class which I am running as an application in Eclipse to
test the behavior of another class, MyClass:

public class TestMyClass {
	public static void main(String[] args) {
		MyClass mc = new MyClass();
		mc.method1();
	}
}


I run the application, method1 behaves as expected. Then I change
"method1" to "method2" in the code above, save it, and run again (I
have Eclipse set to "build automatically"). method2 does not behave as
expected. I then touch ANY OTHER FILE in the project (ie, i make a
change, undo the change, and save), and method2 behaves as expected.
That is, the project HAS NOT CHANGED AT ALL, yet the behavior changes.

"Cleaning" the project in after changing method1 to method2 doesn't
help either. I have to actually touch one of the files.

How can this be happening????

TIA,
John