United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6891293 Avoid use of ResourceManager unless needed
6891293 : Avoid use of ResourceManager unless needed

Details
Type:
Enhancement
Submit Date:
2009-10-13
Status:
Resolved
Updated Date:
2010-09-16
Project Name:
JDK
Resolved Date:
2009-10-28
Component:
deploy
OS:
generic
Sub-Component:
webstart
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6u18
Fixed Versions:
6u18

Related Reports
Backport:

Sub Tasks

Description
Webstart code should not load any resource unless we really need them. Initialization of resource bundles is expensive and 
is only needed if tracing is enabled or UI is shown.

We also should avoid converting big structures to Strings (such as XML) for tracing purposes unless tracing is enabled.

                                    

Comments
SUGGESTED FIX

http://sa.sfbay.sun.com/projects/deployment_data/6u18/6891293.0

*** (#1 of 1): [ UNSAVED ] ###@###.###
                                     
2009-10-15
EVALUATION

Wrap all the trace calls that needs access to resource manager with if statements.
For UI resources make initialization lazy.
                                     
2009-10-14



Hardware and Software, Engineered to Work Together