Community
Participate
Working Groups
I20050323-1615 IMethodBinding#isEqualTo(..) returns true for methods in different anonymous classes. Here, the two run() methods are said to be equal: public class Try { Runnable one= new Runnable(){ public void run() { } }; Runnable two= new Runnable(){ public void run() { } }; }
Fixed and released in HEAD. I added a test on the constant pool name. This is the only difference between the two anonymous. Regression test added in ASTConverterTestAST3_2.test0601.
Verified in 20050330-0500