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.
[#200406101800; j2sdk1.4.2_04] 1.Create the project with the main class 2.Click the package containing this main class (e.g 'aaa' package) 3.Select in popup menu Refactoring -> Rename... 4.Type new name (e.g. 'bbb') 5.Press 'Do Refactoring' 6.Package is renamed but the code in main class contais line without change: package aaa; Notice:due this issue I am not able to run the project then:-(
Yes you are right, it should work - and it worked. I'll look at it.
FIxed in trunk. Note that this does not work only if the package is simple identifier. If the package is in form aa.bbb rename works OK. Checking in MDRParser.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/parser/MDRParser.java,v <-- MDRParser.java new revision: 1.11; previous revision: 1.10 done
Verified in 20040812; j2sdk1.5.0-beta3-b59.