Bug 73255

Summary: [1.5][reconciling] ClassCastException in SourceTypeElementInfo#getTypeParameterBounds
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-09-03 12:30:54 EDT
20040831

Steps to reproduce:
- Create class A<T>
- Create private static inner class named T
- Wait for the reconciler...
Comment 1 Tobias Widmer CLA 2004-09-03 12:32:06 EDT
Created attachment 14402 [details]
stack trace
Comment 2 Jerome Lanneluc CLA 2004-09-06 06:55:16 EDT
*** Bug 73256 has been marked as a duplicate of this bug. ***
Comment 3 Jerome Lanneluc CLA 2004-09-06 06:56:48 EDT
Element info of the inner class in returned instead of the type parameter info.

The equals(...) method on TypeParameter must take the element type into 
account.
Comment 4 Jerome Lanneluc CLA 2004-09-06 07:07:21 EDT
Fixed and added regression test ExistenceTests#testTypeParameter5()
Comment 5 David Audel CLA 2004-09-23 09:18:53 EDT
Verified in I200409240100.