Community
Participate
Working Groups
20050606 Example from bug 97442: import java.util.List; public class A { class Counter<T, L extends List<T>> { private L _attribute; } } Open the AST view on 'L' and look at the binding. The binding reports 'isTopLevel'. No other type variable does that and I think it should only apply to classes, enums and interfaces/annotations
Created attachment 22437 [details] Apply on HEAD Possible fix
Created attachment 22438 [details] Apply on HEAD of org.eclipse.jdt.core.tests.model Corresponding regression test
Philippe, this is a low risk fix. I don't know how important this is for Martin, but it could be released for RC2. All our DOM tests passed with this fix.
+1 for RC2
Fixed and released in HEAD. Regression test added in org.eclipse.jdt.core.tests.dom.ASTConverter15Test.test0188
Verified for 3.1 RC2 using build N20050607-0010 + JDT/Core HEAD
Verified for 3.1 RC2 using build I20050610-0010