Bug 92360

Summary: type binding with isWildcardType() == true should not have isClass() == true
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Apply on HEAD on TypeBinding none

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.