Bug 303270 - A type variable in a type parameter signature is treated as a type
Summary: A type variable in a type parameter signature is treated as a type
Status: CLOSED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Jay Arthanareeswaran CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-18 23:04 EST by Jay Arthanareeswaran CLA
Modified: 2020-02-20 14:06 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jay Arthanareeswaran CLA 2010-02-18 23:04:56 EST
Consider the following compilation unit:

public class Z<T extends Object & I<? super T>> {}
interface I<T>{}

When I invoke IType#getTypeParameterSignatures() on type Z, it returns "T:QObject;:QI<-QT;>;\n" where it should really be "T:QObject;:QI<-TT;>;\n"

Note that the difference is the the last part (QT instead of TT). 'T' is treated as an unresolved type instead of a type variable. A closer look reveal that the Signature class, which constructs the type parameter signatures, does not take care of type variables in bounds at all.
Comment 1 Eclipse Genie CLA 2020-02-20 14:06:12 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.