Bug 86817

Summary: Search for references to generic class reports package names in import statements
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Markus Keller CLA 2005-02-28 06:42:17 EST
HEAD

- Have these declarations in a 5.0 project:

class Generic<E> { }
class Ref {
    Generic<Integer> gi= new Generic<Integer>();
    Generic<Double> gd= new Generic<Double>();
}

- Ctrl+H, enter "Generic<Integer>", search for references to type in workspace,
including JRE libraries, *not* case sensitive

-> I get hundreds of matches in import statements where a package name component
contains 'generic' e.g. in org.apache.xalan.xsltc.compiler:

package org.apache.xalan.xsltc.compiler;

import com.ibm.xslt4j.bcel.generic.ConstantPoolGen;
import com.ibm.xslt4j.bcel.generic.INVOKEINTERFACE;
..

final class AbsoluteLocationPath extends Expression {
..
Comment 1 Frederic Fusier CLA 2005-02-28 06:45:08 EST

*** This bug has been marked as a duplicate of 86596 ***