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.
Bug 229426 would benefit from using Export-Package when it is present, but otherwise fallback to classical method of computing covered packages.
Created attachment 135762 [details] For Tomáš's consideration
For NetBeans 7.4 + possibly to be transplanted to JDev
Looks nice, setting FIND_COVERED_PKGS to exportedIfPresent is exactly what we need. Then we can use OSGi bundles that don't export packages but still can register services, and mix them with bundles that export packages (thus for performance reasons their packages don't have to be discovered).
OK. Sent to JDev: changeset: 563cdcfc5781 branch: jdev_abrams parent: f9c322a6c6f2 user: Jaroslav Tulach <jtulach@netbeans.org> date: Fri Jun 14 07:55:25 2013 +0200 summary: #231223: Mixed mode of finding covered packages yet needs to be merged to NetBeans as well.
Unless there are objections, I merge to default branch for 7.4.
71e62e94454b tag: tip user: Jaroslav Tulach <jtulach@netbeans.org> date: Wed Jun 19 09:38:26 2013 +0200 summary: Transplant of releases' 563cdcfc5781 to 7.4