Bug 83713 - [1.5][search] IAE while searching reference to parameterized type
Summary: [1.5][search] IAE while searching reference to parameterized type
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M5   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-26 10:06 EST by Frederic Fusier CLA
Modified: 2005-02-15 05:35 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Fusier CLA 2005-01-26 10:06:23 EST
Using HEAD.
I have following test case:
class X<T> {
}
class Y<E> extends X<E> {
  X<E> y1;
  X<E> y2;
}

Put cursor inside X<E> in Y declaration and serahc for references in project =>
an IllegalArgumentException occurs in Util.scanTypeSignature(...)
Comment 1 Frederic Fusier CLA 2005-01-26 10:59:18 EST
Fixed.

Problem came from changes done in uniqueKey of ParameterizedSourceType. Modify
select engine to put only signatures information in ParameterizedSource* classes.

Currently only tests in ResolveTests_1_5 have been modified to take into account
changes done in selection engine.

I'll add a specific test for scenario described in comment 0...
Comment 2 Frederic Fusier CLA 2005-01-26 13:32:26 EST
Test case #testParameterizedType_Bug83713 added in JavaSearchGenericTypeTests
Comment 3 David Audel CLA 2005-02-15 05:24:23 EST
Verified in I20050214-0927 for 3.1.M5