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.
The IDE on 4.0 is consistently missing compilation of source files which should be affected by a change in a referred class. Even in the most trivial case of changing a superclass I often don't get subclasses compiled.
Reassigning to ant module.
If a file X.java is newer than the corresponding X.class, or X.class is missing, NB asks Ant to compile it using <javac> thus javac. Javac will compile any out of date files it finds that are referred to recursively from the selected files. But if A.java depends on B.java, and you compile both and then modify B.java, A.java will not automatically be recompiled. To do so requires some additional tool to check for inverse dependencies. Adding such a tool (e.g. JavaMake, or Ant's <depend>) has been considered, but is not done for 4.0. *** This issue has been marked as a duplicate of 36033 ***
closed