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.
Summary: | Don't read all JARs when finding covered packages with Netbinox | ||
---|---|---|---|
Product: | platform | Reporter: | Jaroslav Tulach <jtulach> |
Component: | Netigso | Assignee: | Jaroslav Tulach <jtulach> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | apireviews, cyhelsky |
Priority: | P2 | Keywords: | API_REVIEW_FAST, PLAN |
Version: | 7.2 | ||
Hardware: | Other | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
One approach is to read the content from the JAR file directly
NetigsoArchive.isActive |
Description
Jaroslav Tulach
2011-11-29 21:03:52 UTC
Created attachment 114210 [details]
One approach is to read the content from the JAR file directly
This prevents the OSGi framework to resolve the bundles (this is what findEntries is required to do). But it may not find all packages from fragments or external bundles.
Created attachment 114579 [details]
NetigsoArchive.isActive
No comments so far. I guess nobody cares and I'll integrate tomorrow. Integrated as core-main#c3b7c6f096ef This fix could/should improve first start without caches a bit, if anyone on NetBeans IDE side is interested. Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/c3b7c6f096ef User: Jaroslav Tulach <jtulach@netbeans.org> Log: #205678: Disable archive on first start to prevent loading whole content of bundle JARs |