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 240998 - wrong values in Navigator tab if user adds new namespaces
Summary: wrong values in Navigator tab if user adds new namespaces
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 8.0
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-27 08:49 UTC by soldatov
Modified: 2014-02-19 02:46 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 2014-01-27 08:49:47 UTC
Original C++ code:

void foo() {}

int main(int argc, char** argv) {

    return 0;
}

Scenario:
1) Add "namespace A {" before "void foo()"
2) Add "}" after  "void foo()"
3) Check Navigator tab
==> main() inside A namespace (it is not a stable failure)
You can add "namespace B" and "namespace C" if you can't reproduce failure with 1 namespace only
Comment 1 Alexander Simon 2014-02-17 16:01:45 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/525bb8b6b13c
Comment 2 Quality Engineering 2014-02-19 02:46:48 UTC
Integrated into 'main-silver', will be available in build *201402190001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/525bb8b6b13c
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #240998 wrong values in Navigator tab if user adds new namespaces