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.
...as well as the java file. it does not if you use the cross-directory compiler. at the least it should prompt you to delete it.
Not possible to fix. If cross-directory compilation were implemented differently (using MultiFileSystem, technically) then it would work automatically, but as is this is not possible--the .java file does not "know" anything about its .class, it is the compiler which does the magic.
in the development version, there is native support for the cross-directory compiler. since the class path is stored in the 'target' property (in project settings-->compiler types), and the package information can be obtained from the java file to be deleted, this information can be used to determine where the class file resides. it is indeed not a very elegant solution, but one that will work until a better fix can be devised.
Version: 'Dev' -> 3.2
Because of other changes, the java source object is (or should be) now aware of all its .class files, regardless of where they are. Should work in the latest 3.2 builds, reopen if it does not.
[release32-23] Verified
please see bug 11422
Target milestone -> 3.2
Resolved for 3.4.x or earlier, no new info since then -> closing.
Reorganization of java component