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 64975 - Slow loading of localized resources with nbresloc:
Summary: Slow loading of localized resources with nbresloc:
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: _ rkubacki
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2005-09-23 10:44 UTC by _ rkubacki
Modified: 2008-12-22 19:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2005-09-23 10:44:14 UTC
Image and bundle loading tries to load base variant (no l10n, no branding) of
resource first to warmup classloader caches so the attempts to load localized
resource asks smaller set of resources.

Note that nbresloc: protocol does not do this. It is used for example in
utilities module and scan for org/netbeans/modules/utilities/relnotes.url starts
with loading of l10n'ed/branded resource using system class loader before it
asks for existing loader.
Comment 1 _ rkubacki 2006-08-09 17:23:42 UTC
Optimized nbresloc: loading - 
Checking in
test/unit/src/org/netbeans/core/startup/NbURLStreamHandlerFactoryTest.java;
/shared/data/ccvs/repository/core/startup/test/unit/src/org/netbeans/core/startup/NbURLStreamHandlerFactoryTest.java,v
 <--  NbURLStreamHandlerFactoryTest.java
new revision: 1.6; previous revision: 1.5
done
Checking in src/org/netbeans/core/startup/NbURLStreamHandlerFactory.java;
/shared/data/ccvs/repository/core/startup/src/org/netbeans/core/startup/NbURLStreamHandlerFactory.java,v
 <--  NbURLStreamHandlerFactory.java
new revision: 1.11; previous revision: 1.10
done