Bug 69375 - [1.5] wildcards: no error for incorrect assignment
Summary: [1.5] wildcards: no error for incorrect assignment
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.1 M1   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-06 09:51 EDT by Adam Kiezun 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 Adam Kiezun CLA 2004-07-06 09:51:54 EDT
3.0 + jdkcore 1_5 from 2/07/2004

List<? extends Integer> li= null;
List<? extends Number> ln= null;
li= ln;

the last assignment should be flagged as incorrect but it is not
Comment 1 Philipe Mulet CLA 2004-07-07 12:48:33 EDT
Tuned equivalence of wildcards.
Fixed. Added regression test: GenericTypeTest#test230.