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 136973 - Indeterminate behavior of code completion and hyper link for two structs with same name
Summary: Indeterminate behavior of code completion and hyper link for two structs with...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords: RANDOM
Depends on:
Blocks: 108501
  Show dependency tree
 
Reported: 2008-06-11 07:24 UTC by Alexander Simon
Modified: 2009-04-24 07:41 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 Alexander Simon 2008-06-11 07:24:41 UTC
Code example is the Open Solaris file:
usr/src/uts/common/io/lvm/trans/trans_log.c
from uts project.
------------------------------
mddb_recid_t ldl_create(mdkey_t key, mt_unit_t *un) {
    ml_unit_t *ul;
...
    ul->un_maxresv = un->un_l_maxresv;
    ul->un_maxtransfer = (uint_t)dbtob(un->un_l_maxtransfer);
...
}
------------------------------
Code completion do not work for members of ml_unit_t ("ul->").
It suggest members from file "usr/src/uts/common/sys/fs/ufs_log.h".
Should be members from file "usr/src/uts/common/sys/lvm/md_trans.h".
It is strange because hyper link on type "ml_unit_t" works right.
Do not close issue "woks for me" if one experiment does not confirm bug.
Try to understand cause of "indeterminate".
Comment 1 Vladimir Voskresensky 2008-11-19 18:42:41 UTC
I know the reason and we need it correct for 7.0 model accuracy
Comment 2 Vladimir Voskresensky 2009-04-23 17:49:16 UTC
this is the top VLC issue. Let's see tomorrow the improvements (or regressions :-) )

fixed + test:
http://hg.netbeans.org/cnd-main?cmd=changeset;node=76094801fdaf
Comment 3 Quality Engineering 2009-04-24 07:41:14 UTC
Integrated into 'main-golden', will be available in build *200904240201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/76094801fdaf
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed IZ#136973: Indeterminate behavior of code completion and hyper link for two structs with same name