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.
Most code which uses ModuleInfo.owns actually iterates all available modules until it finds the right one. This is wasteful, when the implementation can determine the owner of a given class (if there is one) in O(1) time.
*** This bug has been marked as a duplicate of bug 157828 ***