Bug 83713

Summary: [1.5][search] IAE while searching reference to parameterized type
Product: [Eclipse Project] JDT Reporter: Frederic Fusier <frederic_fusier>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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