Community
Participate
Working Groups
I20041130-0800 a/A.java: package a; public class A { void m() {} } b/B.java: package b; public class B extends a.A { void m() {} } The compiler emits a warning that method b.B#m() does *not* override a.A#m(). However, a search for declarations (and occurrences) of method a.A#m() also reports b.B#m(), which is wrong.
Fixed. Now only A.m() method declaration is found. [jdt-core-internal] Change done in MethodLocator.resolveLevel(Binding). Test case added in JavaSearchBugsTests.
Verified for 3.1M5