-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
6u18
-
generic
-
generic
DESCRIPTION:
When the progress-class attribute is specified in both main JNLP as well as the extension JNLP, Custom Progress bar is not launched, instead the default Java splash screen is displayed in the applet area before launch of the applet.
Main JNLP content:
--------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="." href="custom_bothall_extension.jnlp">
<information>
<title>Custom Progress, Main JNLP</title>
<vendor>Sun Microsystems</vendor>
<description>Both Custom Progress jar and class in the extension as well as main JNLP</description>
<offline-allowed/>
</information>
<update check="background"/>
<resources>
<jar href="../classes/TestApplet.jar"/>
<extension href="extension_progress_bothall.jnlp"/>
<jar href="CustomProgress.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h20.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h21.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h22.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h23.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h24.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h25.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h26.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h27.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h28.jar" />
<j2se version="1.5+"/>
</resources>
<applet-desc main-class="SimpleApplet" name="testApplet" height=200 width=400 progress-class="CustomProgress" />
</jnlp>
--------------------------------------------------------------------------------------
Extension JNLP content:
--------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="." href="extension_progress_bothall.jnlp">
<information>
<title>Custom Progress, extension JNLP</title>
<vendor>Sun Microsystems</vendor>
<description>Both Custom Progress jar and class in the extension as well as main JNLP</description>
<offline-allowed/>
</information>
<resources>
<jar href="CustomProgress.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h20.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h21.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h22.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h23.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h24.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h25.jar" />
<j2se version="1.5+"/>
</resources>
<component-desc progress-class="CustomProgress" />
</jnlp>
--------------------------------------------------------------------------------------
PLATFORM TESTED:
Windows XP, LINUX
JAVA VERSION:
java version "1.6.0_18-ea"
Java(TM) SE Runtime Environment (build 1.6.0_18-ea-b05)
Java HotSpot(TM) Client VM (build 16.0-b12, mixed mode, sharing)
TESTCASE:
http://sqindia.india.sun.com/disk17/deployment/subrata/dev_6UR_int_ws/deployment/src/plugin/CustomProgressBar/CustomProgressBar/html/AllInMainAndExtension.html
When the progress-class attribute is specified in both main JNLP as well as the extension JNLP, Custom Progress bar is not launched, instead the default Java splash screen is displayed in the applet area before launch of the applet.
Main JNLP content:
--------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="." href="custom_bothall_extension.jnlp">
<information>
<title>Custom Progress, Main JNLP</title>
<vendor>Sun Microsystems</vendor>
<description>Both Custom Progress jar and class in the extension as well as main JNLP</description>
<offline-allowed/>
</information>
<update check="background"/>
<resources>
<jar href="../classes/TestApplet.jar"/>
<extension href="extension_progress_bothall.jnlp"/>
<jar href="CustomProgress.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h20.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h21.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h22.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h23.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h24.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h25.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h26.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h27.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h28.jar" />
<j2se version="1.5+"/>
</resources>
<applet-desc main-class="SimpleApplet" name="testApplet" height=200 width=400 progress-class="CustomProgress" />
</jnlp>
--------------------------------------------------------------------------------------
Extension JNLP content:
--------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="." href="extension_progress_bothall.jnlp">
<information>
<title>Custom Progress, extension JNLP</title>
<vendor>Sun Microsystems</vendor>
<description>Both Custom Progress jar and class in the extension as well as main JNLP</description>
<offline-allowed/>
</information>
<resources>
<jar href="CustomProgress.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h20.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h21.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h22.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h23.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h24.jar" />
<jar href="http://web-east.east/www/tests/javaws/generic/stress/h25.jar" />
<j2se version="1.5+"/>
</resources>
<component-desc progress-class="CustomProgress" />
</jnlp>
--------------------------------------------------------------------------------------
PLATFORM TESTED:
Windows XP, LINUX
JAVA VERSION:
java version "1.6.0_18-ea"
Java(TM) SE Runtime Environment (build 1.6.0_18-ea-b05)
Java HotSpot(TM) Client VM (build 16.0-b12, mixed mode, sharing)
TESTCASE:
http://sqindia.india.sun.com/disk17/deployment/subrata/dev_6UR_int_ws/deployment/src/plugin/CustomProgressBar/CustomProgressBar/html/AllInMainAndExtension.html