Summary: | IMethodBinding#isEqualTo(..) returns true for methods in anonymous classes with error in parent | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.2 | ||
Target Milestone: | 3.2 M5 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Markus Keller
2005-11-17 04:38:00 EST
When the method contains an error before the anonymous declaration, the constant pool name of both anonymous is null. This is why the two methods are considered equal. In this case, I will use the unique key to compare the two anonymous type binding. Fixed and released in HEAD. Regression test added in org.eclipse.jdt.core.tests.dom.ASTConverterTestAST3_2.test0627 Verified for 3.2 M5 using build I20060215-0010. |