United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6886049 Customized Progress with progress-class attribute in extension broken
JDK-6886049 : Customized Progress with progress-class attribute in extension broken

Details
Type:
Bug
Submit Date:
2009-09-26
Status:
Closed
Updated Date:
2010-09-16
Project Name:
JDK
Resolved Date:
2009-12-02
Component:
deploy
OS:
generic
Sub-Component:
deployment_toolkit
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u18
Fixed Versions:
6u18 (b04)

Related Reports
Backport:
Relates:

Sub Tasks

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

need to fix in b04
                                     
2009-09-26
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
                                     
2009-10-08



Hardware and Software, Engineered to Work Together