Summary: | [search] Inaccurate search match for method invocations with literal arguments | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Tobias Widmer <tobias_widmer> |
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.1 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Whiteboard: |
Description
Tobias Widmer
2005-08-26 04:58:03 EDT
I cannot reproduce using same build I am using JDT Core HEAD Here is a more reliable test case. I hope you can reproduce it now: - Create two cus in a new project in the default package: - Create cu T.java with content: class A { B fB; public void subroutine(float subArg) { subsub(); } public void subsub() { } } public class T { } - create cu B.java with content: class B { public void doit(A pApp, String doitArg) { pApp.subroutine(1.2f); } } -> Search for references to A#subRoutine(float) in the workspace -> The invocation pApp.subroutine(1.2f) is reported as inaccurate The first test case must have been some temporary inconsistency |