JDK-6886049 : Customized Progress with progress-class attribute in extension broken
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 6u18
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2009-09-26
  • Updated: 2010-09-16
  • Resolved: 2009-12-02
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
Related Reports
Relates :  
Description
When a customized progress jar is defined in an extension with:
<jar href="..." download-"progress"/>
it only works completely if the progress-class attribute is specified in the application-desc, or applet-desc element.

1.) When an applet is run in plugin and the progress-class attribute is specified in a component-desc element, the attribute is not found at all and the default GrayBoxPainter is shown.
2.) when a Java Webstart app is run and the progress-class attribute is specified in a component-desc element, the attribute is found and the custon clas is used the first time the application runs and the content is downloaded, however, sometimes after the application is cached, and it is run again, the DefaultDownloadWindow is shown (because the progress-class attribute is not found).

These problems occur in 6u18 bo3, after the implementation of Custm Progress feature in
RFEs 6853768, and 6875234

Comments
EVALUATION The main problem was due to XMLFormat.java searching for progress-class attribute in wrong element <application-desc> instead of <component-desc> of LibraryDesc. Additional problem fixed - show progress-class in ApplicationDesc, LibraryDesc, and AppletDesc toString() method, also minor clean up of ExtensionDesc.java
08-10-2009

EVALUATION need to fix in b04
26-09-2009