This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
In the code below, call graph reports f2search() called from caller() that is called from fun2() (in the case "Show Overridden Methods" is on). But it's quite obvious that it can't be called from fun2, since it uses a non-pointer type (Anc a), so call graph shouldn't show it. struct Anc { virtual void f2search() { } virtual void caller() { } }; struct Desc : Anc { virtual void f2search() { } virtual void caller() { Anc a; a.f2search(); } }; static void fun2() { Anc a; a.caller(); // it's Anc::caller, never Desc::caller }
I'm not really sure it's a P3... probably P4?
Do we have the same issue in Find Usages?