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 103915 - Hyperlink works wrong with private methods
Summary: Hyperlink works wrong with private methods
Status: CLOSED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-14 13:44 UTC by soldatov
Modified: 2007-06-13 16:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2007-05-14 13:44:42 UTC
newfile.h:
-------------------------------

class A {
private:
    void f();
public:
    void f2();
};

-------------------------------
newfile.cc:
-------------------------------

#include "newfile.h"

void A::f() {
    return;
}

void A::f2() {
    return;
}

int main() {
    return 0;
}

Hyperlink on 'f()' method works wrong
Comment 1 Vladimir Voskresensky 2007-05-14 15:04:16 UTC
hyperlink for private members is broken for both header and source files => P2
Comment 2 Vladimir Voskresensky 2007-05-17 15:55:08 UTC
fixed in grgich_hills:
- updated the context passed to resolving visibility method

cvs log:
Checking in src/org/netbeans/modules/cnd/completion/csm/CompletionResolverImpl.java;
/shared/data/ccvs/repository/cnd/completion/src/org/netbeans/modules/cnd/completion/csm/CompletionResolverImpl.java,v
 <--  CompletionResolverImpl.java
new revision: 1.2.2.12.4.12.4.1; previous revision: 1.2.2.12.4.12
done
Checking in src/org/netbeans/modules/cnd/completion/cplusplus/CsmFinderImpl.java;
/shared/data/ccvs/repository/cnd/completion/src/org/netbeans/modules/cnd/completion/cplusplus/CsmFinderImpl.java,v
 <--  CsmFinderImpl.java
new revision: 1.2.2.6.2.7.4.1; previous revision: 1.2.2.6.2.7
done
Checking in
src/org/netbeans/modules/cnd/completion/cplusplus/ext/CsmCompletionQuery.java;
/shared/data/ccvs/repository/cnd/completion/src/org/netbeans/modules/cnd/completion/cplusplus/ext/CsmCompletionQuery.java,v
 <--  CsmCompletionQuery.java
new revision: 1.2.2.15.2.23.4.1; previous revision: 1.2.2.15.2.23
done
Comment 3 Vladimir Voskresensky 2007-05-25 17:02:58 UTC
close as fixed, because is fixed in grgich_hills branch and tests are added
Comment 4 soldatov 2007-06-13 16:27:27 UTC
Closed. Verified in 20070613 build.