Bug 92360 - type binding with isWildcardType() == true should not have isClass() == true
Summary: type binding with isWildcardType() == true should not have isClass() == true
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M7   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-22 08:07 EDT by Markus Keller CLA
Modified: 2005-05-13 09:19 EDT (History)
0 users

See Also:


Attachments
Apply on HEAD on TypeBinding (623 bytes, patch)
2005-05-11 16:31 EDT, Olivier Thomann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2005-04-22 08:07:30 EDT
v_552a

import java.util.List;
public class XX {
    List<? extends Runnable> list;
}

The type binding for '? extends Runnable' says isClass() and isWildcardType().
Expected: only isWildcardType().
Comment 1 Olivier Thomann CLA 2005-05-10 10:53:31 EDT
Do you need this for M7?
Comment 2 Markus Keller CLA 2005-05-10 11:20:45 EDT
Not for M7.

I don't have a specific problem with this - but changing it could reveal one ...
Comment 3 Olivier Thomann CLA 2005-05-11 16:31:54 EDT
Created attachment 21009 [details]
Apply on HEAD on TypeBinding
Comment 4 Olivier Thomann CLA 2005-05-11 22:37:55 EDT
Fixed and released in HEAD.
Regression test in org.eclipse.jdt.core.tests.dom.ASTConverter15Test.test0180.
Comment 5 Maxime Daniel CLA 2005-05-13 07:15:36 EDT
Verified for 3.1 M7 using build I20050512-2035 + jdt.core HEAD.