Community
Participate
Working Groups
Build ID: M20071023-1652 Steps To Reproduce: Test case: public class A { public static void main(String[] args) { new Thread() { public void run() { System.out.println(23); } }.start(); } } class MyThread { public void start() { System.out.println(42); } } Renaming class "MyThread" to "Thread" shadows the library class java.lang.Thread, which is not noticed by Eclipse. Thus the program changes from printing "23" before refactoring to printing "42" after. More information:
*** This bug has been marked as a duplicate of bug 123098 ***