Bug 72230 - [1.5][Type Signature] IAE in createCharArrayTypeSignature
Summary: [1.5][Type Signature] IAE in createCharArrayTypeSignature
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 3.1 M2   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-19 04:34 EDT by Tobias Widmer CLA
Modified: 2004-09-22 10:04 EDT (History)
0 users

See Also:


Attachments
stack trace (2.52 KB, text/plain)
2004-08-19 04:36 EDT, Tobias Widmer CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.