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.

Bug 10326 - "go to source" does not take account of method argument types
Summary: "go to source" does not take account of method argument types
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-15 01:07 UTC by Henry Story
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Child class (270 bytes, text/plain)
2001-07-20 20:42 UTC, Henry Story
Details
parent class (384 bytes, text/plain)
2001-07-20 20:42 UTC, Henry Story
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henry Story 2001-03-15 01:07:20 UTC
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()");
    }
    
    

}
----------------------------------------
Comment 1 Henry Story 2001-03-15 01:31:57 UTC
Created attachment 786 [details]
Child class
Comment 2 Henry Story 2001-03-15 01:32:37 UTC
Created attachment 787 [details]
parent class
Comment 3 Martin Roskanin 2001-03-22 10:37:53 UTC
fixed in [maintrunk] and [release32]
Comment 4 Jan Chalupa 2001-05-05 22:10:13 UTC
Target milestone -> 3.2
Comment 5 Quality Engineering 2003-06-30 18:05:33 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 6 Quality Engineering 2003-06-30 18:11:40 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.