Bug 70618 - [1.5] Variable T should be allowed as argument of supertype
Summary: [1.5] Variable T should be allowed as argument of supertype
Status: RESOLVED 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 M1   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-22 10:10 EDT by Philipe Mulet CLA
Modified: 2005-01-11 11:02 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 Philipe Mulet CLA 2004-07-22 10:10:15 EDT
The following code should allow to bind T in the parameterized supertype 
AbstractList<T>:

import java.util.AbstractList;

public class X<T> {
	class M extends AbstractList<T> {}
}
Comment 1 Philipe Mulet CLA 2004-07-22 10:11:50 EDT
See GenericTypeTest#test257.
Comment 2 Kent Johnson CLA 2004-07-22 11:47:14 EDT
Fixed