Community
Participate
Working Groups
M20050923-1430 public class NodeList<E> { class Cursor { } { NodeList<String>.Cursor cursor2; } } Use ITypeBinding#isEqualTo(..) to compare the type binding of NodeList<String>.Cursor to the type binding of its declaration (getTypeDeclaration(), or take the binding from the declaration class Cursor {}). Expected: false Is: true (in both directions)
We had to compare the enclosing type as well for both bindings.
Fixed and released in HEAD. Regression test added in org.eclipse.jdt.core.tests.dom.ASTConverter15Test.test0198.
Verified for 3.2 M3 using build I20051025-0800+v_619