Community
Participate
Working Groups
When opening the call hierarchy for a private method, references are shown to same-named methods in subclasses. Example: Consider a user class extending java.lang.Thread. The extended class contains a method protected void exit(); When opening the call hierarchy for the private void exit() of java.lang.Thread, the references to the protected method of the extended class are shown. Example class to reproduce the bug: class Test { protected void exit(){} public void foo() { exit(); } } Now open java.lang.Thread and from there, open the call hierarchy for java.lang.Thread.exit(). The call hierarchy states, that Thread.exit would be called from Test.foo.
This bug has been fixed in 3.1 stream since 3.1 M3... However, as this is neither a critical nor a major bug, I don't think this fix will be backported to 3.0.2 stream (except if there's a real need...) *** This bug has been marked as a duplicate of 70827 ***