Bug 72882 - ITypeBinding.getQualifiedName for type variables wrong
Summary: ITypeBinding.getQualifiedName for type variables wrong
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M2   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-30 11:43 EDT by Martin Aeschlimann CLA
Modified: 2004-09-23 10:02 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.