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.
With the fix for #45694, renaming a file (FileObject.rename()) properly updates the compile badge. However if you move the class to a new package, the badge no longer works, since it is based on FileObject's, not DataObject's, and the primaryFile changed. JavaNode probably needs to listen to JavaDataObject.PROP_PRIMARY_FILE and reset the upToDate field (and recheck the icon) if it changes.
The GlobFileBuiltQuery itself cannot listen to file moves; see issue #30085.
Tracking as a build-system-related issue that should be fixed.
Honzo, could you please look at this?
*** Issue 49461 has been marked as a duplicate of this issue. ***
*** Issue 47388 has been marked as a duplicate of this issue. ***
old target milestone, please re-evaluate
added workaround for issue #30085 in /cvs/java/src/org/netbeans/modules/java/JavaNode.java new revision: 1.124; previous revision: 1.123