Bug 79803 - [1.5][search] Search for references to type A reports match for type variable A
Summary: [1.5][search] Search for references to type A reports match for type variable A
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 M4   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-30 13:54 EST by Markus Keller CLA
Modified: 2004-12-14 11:56 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 Markus Keller CLA 2004-11-30 13:54:55 EST
I200411300800

package p;
class A<A> {
    A a;
    p.A pa= new p.A();
}

Search for references to type p.A. The type variable A in "A a;" is also reported.
Comment 1 Frederic Fusier CLA 2004-12-07 09:12:55 EST
Fixed.

Search now does not report type parameter reference.

[jdt-core-internal]
Changes done in PatternLocator.resolveTypeForType(char[], TypeBinding)
Test cases added in JavaSearchTests: #testBug79803() + #testBug79803b()
Comment 2 Olivier Thomann CLA 2004-12-14 11:56:43 EST
Verified in 200412140800