Community
Participate
Working Groups
I report something strange. Using Eclipse2.1, a Java code like followings don't occured a compile error. Its code occured an error with Eclipse2.0. Although it's basically a stupid code, in the world, there is some people who believe it's OK. For such a people, I hope it occurs an error. Perhaps, are there some reason to be like this? ------------------------- public void foo(){ this = null; } -------------------------
In 2.1.3 and latest 3.0, this produces an error: The left-hand side of an assignment must be a variable
This was addressed a long time ago. *** This bug has been marked as a duplicate of 46918 ***