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.
Following steps works in NB3.3 (or Orion) but don't work in trunk builds. Create Folder or Java package in some filesystem and a Java class in this folder. Then rename the folder/package. Very likely you will not get notification that the package declaration in Java source(s) ought to be updated. The probability of bad behaviour is higher if you do it in web module (under WEB-INF/classes folder) or use VCS controlled FS.
I can reproduce it ONLY in WEB-INF/classes folder. Radim, are you able to reproduce this bug in regular package?
Yes, I am. Not always but often. Also Jirka has the same experience
Please verify that all the parent folders' names are valid Java identifiers and also that the new name is a valid identifier. If not, then no dialog or renaming occurs. There was a change made because of a issue that package statement is changed to something weird if the user renames some parent directory to e.g. "foo bar". If the parent names are invalid before the change, no dialog will be shown. If the new name is invalid, a warning is issued.
And because of my laziness, the valid-name-check seems to fail on all first-level packages. so there IS a bug indeed :-)
/cvs/java/src/org/netbeans/modules/java/PackageHandler.java,v <-- PackageHandler.java new revision: 1.3; previous revision: 1.2
VERIFIED
Resolved for 3.4.x or earlier, no new info since then -> closing.