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 49153 - ProxyClassLoader.getPackages() too slow
Summary: ProxyClassLoader.getPackages() too slow
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords: PERFORMANCE, T9Y
Depends on:
Blocks:
 
Reported: 2004-09-16 14:41 UTC by Jiri Skrivanek
Modified: 2008-12-22 21:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ProxyClassLoader patch (1.94 KB, patch)
2004-09-16 14:41 UTC, Jiri Skrivanek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2004-09-16 14:41:20 UTC
Execution of method ProxyClassLoader.getPackages()
takes several seconds. It can be improved by
attached patch or a some different way. We need it
in test tools to get all packages available in
NetBeans SystemClassLoader.
Comment 1 Jiri Skrivanek 2004-09-16 14:41:42 UTC
Created attachment 17693 [details]
ProxyClassLoader patch
Comment 2 Petr Nejedly 2004-09-17 09:15:54 UTC
Fixed using slightly different patch.

core/bootstrap/src/org/netbeans/ProxyClassLoader.java,v1.13
Comment 3 Jiri Skrivanek 2004-09-20 08:36:06 UTC
Verified. Thanks.