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 197866 - J2eePlatformSourceForBinaryQuery.findSourceRoots2 takes 20s
Summary: J2eePlatformSourceForBinaryQuery.findSourceRoots2 takes 20s
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.0.1
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-19 14:14 UTC by Tomas Zezula
Modified: 2011-06-02 20:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
snapshot (20.43 KB, application/octet-stream)
2011-04-19 14:14 UTC, Tomas Zezula
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Zezula 2011-04-19 14:14:51 UTC
Created attachment 107838 [details]
snapshot

J2eePlatformSourceForBinaryQuery.findSourceRoots2 takes 20s.
The problem is in Hk2JavaEEPlatformFactory which seems to read 100+ jar manifests.
Not sure if it should be reported to javaee/project (which should not call it) or serverplugin/glassfish
See the attached snapshot.
Comment 1 Quality Engineering 2011-05-20 08:57:25 UTC
Integrated into 'main-golden', will be available in build *201105200400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/a4b1f7ce2670
User: Vince Kraemer <vkraemer@netbeans.org>
Log: #197866 : avoid searching through jars