Bug 73255 - [1.5][reconciling] ClassCastException in SourceTypeElementInfo#getTypeParameterBounds
Summary: [1.5][reconciling] ClassCastException in SourceTypeElementInfo#getTypeParamet...
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:
: 73256 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-03 12:30 EDT by Tobias Widmer CLA
Modified: 2004-09-23 09:18 EDT (History)
0 users

See Also:


Attachments
stack trace (4.08 KB, patch)
2004-09-03 12:32 EDT, Tobias Widmer CLA
no flags Details | Diff

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