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.
1. Place the example files below in a new project and a new filesytem 2. Call the parser database on that filesystem 3. open Child.java 4. Move the cursor over the "show" in "super.show(text,4);" 5. right click and choose "go to source" menu 6. The cursor will move to the show(String s) method of the superclass rather than the show(String s, int i) method of the superclass that is being called. For a small project like this this is not a problem. But it can be misleading for larger projects with very big source files. In any case this is not the expected behavior. -------------------testInheritance.java--------------- public class testInheritance { /** Creates new testInheritance */ public testInheritance() { } /** * @param args the command line arguments */ public static void main (String args[]) { Child c = new Child(); System.out.println("hello"); c.show("called c.show()"); } } ----------------------------------------
Created attachment 786 [details] Child class
Created attachment 787 [details] parent class
fixed in [maintrunk] and [release32]
Target milestone -> 3.2
Resolved for 3.3.x or earlier, no new info since then -> closing.