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.
We need to watch for ClassDescriptor objects, which are not referenced by any ClassFeature object inside one Codebase. Such ClassDescriptors have to be removed from Codebase since they are no longer needed. Some possible solutions follow. 1. Create dedicated thread to continuously scan all codebases for unused ClassDescriptors. 2. Modify code, which removes ClassDescriptor from any of its relations. Such a code will check whether the relation is empty and if so, it will also check all other relations of affected ClassDescriptor. If all relations are empty, this code removes such a ClassDescriptor from MDR. 3. Clean unused ClassDescriptor on demand. This solution assumes that there is no need to automatically clean unused ClassDescriptors and that on-demand cleaning is sufficient.
implemented