JDK-6891293 : Avoid use of ResourceManager unless needed
  • Type: Enhancement
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 6u18
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2009-10-13
  • Updated: 2013-11-01
  • Resolved: 2009-10-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u18 b04Fixed 7Fixed
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 ] ###@###.###
15-10-2009

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