Bug 72882

Summary: ITypeBinding.getQualifiedName for type variables wrong
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.1 M2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Martin Aeschlimann CLA 2004-08-30 11:43:48 EDT
20040824

In
package test;

public class C<X> {
  void foo(X x) {}
}
get the type binding of 'X' and use 'getQualifiedName()': Result is
'test.X'

should be 'X'
(spec says:
 * <li>For type variables, the fully qualified name is just the name of the
 * type variable (type bounds are not included).
 * Example: <code>"X"</code>.</li>
Comment 1 Olivier Thomann CLA 2004-09-07 14:21:50 EDT
Fixed and released in HEAD.
Regression test added.
Comment 2 David Audel CLA 2004-09-23 10:02:47 EDT
Verified in I200409240100.