Community
Participate
Working Groups
I20050823-0800 Consider the following two compilation units: public class A { B fB; public void doit(String doitArg) { subroutine(1.2f); } public void subroutine(float subArg) { subsub(); } public void subsub() { } } public 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
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
Interesting test case for bug 36032... *** This bug has been marked as a duplicate of 36032 ***