Bug 73671

Summary: [1.5] Signature.getTypeArguments should also tolerate normal types
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.1 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Martin Aeschlimann CLA 2004-09-10 10:54:52 EDT
20040910

Currently, when using Signature.getTypeArguments on a normal (non-parametrized)
type you get a IAE. It would be nicer (and IMO also more correct) to get an
empty array
Comment 1 Philipe Mulet CLA 2004-09-28 04:53:07 EDT
agreed
Comment 2 Jerome Lanneluc CLA 2004-10-08 08:15:18 EDT
Changed spec and implementation of getTypeArguments to return an empty array if
the type signature is not a parameterized type signature.

Added regression test signatureTests#testGetTypeArguments6()
Comment 3 David Audel CLA 2004-11-04 06:02:15 EST
Verified for 3.1M3 with build I200411040100