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.
Steps to reproduce: - open clucene project - open Classes view, it contains "lucene" namespace - open StdHeader.h containing macroses to define namespaces - manually change all "lucene" to "lucene1" then save the file, Classes view now shows "lucene1" namespace - set cursor on "lucene1" in StdHeader.h and call Rename (Ctrl+R) - in Rename dialog change "lucene1" back to "lucene1" and press Enter Result:The namespace is renamed in StdHeader.h but Classes view shows both "lucene" and "lucene1" namespaces and they both contain some classes. It looks like renaming is not done completely. To complete refactoring a user should do any changes in StdHeader.h (e.g. insert a space symbol somewhere) and save the file.
confirmed on Solaris. Can not reproduce on Linux. Probably file events are different
More details: - refactoring itself changes code correctly, so clean&&build is successful - Reparse Project from context menu helps as well Looks like either incorrect set of files is reparsed
fixed: tracing http://hg.netbeans.org/cnd-main?cmd=changeset;node=6ca7d358087c fix http://hg.netbeans.org/cnd-main?cmd=changeset;node=d375f3cdda3c
I reviewed the fix. It looks correct and safe.
verified in trunk build 201106170600
http://hg.netbeans.org/releases?cmd=changeset;node=20ad5edc3b05 http://hg.netbeans.org/releases?cmd=changeset;node=812e8c012cfe
Integrated into 'main-golden', will be available in build *201106170600* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/6ca7d358087c User: Vladimir Voskresensky <vv159170@netbeans.org> Log: trace to fix #199338 - Refactoring does not complete
Integrated into 'releases' Changeset: http://hg.netbeans.org/releases/rev/20ad5edc3b05 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: trace to fix #199338 - Refactoring does not complete (transplanted from 6ca7d358087c453b3192596e60c968de30cab4a7)