Bug 72230

Summary: [1.5][Type Signature] IAE in createCharArrayTypeSignature
Product: [Eclipse Project] JDT Reporter: Tobias Widmer <tobias_widmer>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.1 M2   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
stack trace none

Description Tobias Widmer CLA 2004-08-19 04:34:04 EDT
Build I200408122000: Method fails with IllegalArgumentException

Steps to reproduce:
- Create class C<T>
- Create method f with generic parameter
- Create client class D with field of type C<Something>
- Invoke content assist to call a method on that field, and wait until the 
preview of the proposal appears
Comment 1 Tobias Widmer CLA 2004-08-19 04:36:05 EDT
Created attachment 14068 [details]
stack trace

The stack trace shows an invocation on a field declared using wildcards
Comment 2 Olivier Thomann CLA 2004-08-19 14:25:26 EDT
This might be because the Signature class doesn't support generics yet.
Comment 3 Jerome Lanneluc CLA 2004-08-20 07:01:47 EDT
Changed Signature.toString(...) and toCharArray(...) to support wildcards.
Added regression test SignatureTests.testToStringType25-27().
Comment 4 David Audel CLA 2004-09-22 10:04:39 EDT
Verified in I200409212000.