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 200673

Summary: incorrect navigation between overloaded methods
Product: cnd Reporter: mgerdin
Component: Code ModelAssignee: nnnnnk <nnnnnk>
Status: VERIFIED FIXED    
Severity: normal CC: mmirilovic
Priority: P3    
Version: 7.0.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description mgerdin 2011-08-04 14:09:01 UTC
follow_header is incorrectly jumps between void-based declaration and definition

class ParCompactionManager {
public:
    ParCompactionManager();
    ParCompactionManager(const ParCompactionManager& orig);
    virtual ~ParCompactionManager();
private:

};

class Class {
public:
    Class();
    Class(const Class& orig);
    virtual ~Class();
private:

public:
  void follow_header(void);
  void follow_header(ParCompactionManager* cm);
};

void Class::follow_header(void) {
    
}

void Class::follow_header(ParCompactionManager* cm) {
    
}
Comment 1 Vladimir Voskresensky 2011-08-04 15:58:47 UTC
issue with hotspot support
Comment 2 Alexander Simon 2011-08-22 17:22:19 UTC
fixed, change set:
http://hg.netbeans.org/releases?cmd=changeset;node=e2dce1eaef4b

Fix transplanted to elif:
e2dce1eaef4b transplanted to 5984ce110787
Comment 3 soldatov 2011-08-23 11:15:57 UTC
IDE works nicely in this scenario
NetBeans IDE 7.0.1 (Build oss-platform-build-30-on-20110823)
Comment 4 Alexander Simon 2011-08-24 11:39:56 UTC
integrated in release701_fixes:
5984ce110787 transplanted to e02b4b8a8df8
Comment 5 soldatov 2011-08-29 09:08:37 UTC
verified