PIT: jnlp double launches on UNIX platforms
Steps to reproduce:
- install jre1.6.0_10 build 20
- run javaws http://nicole1.sfbay.sun.com:8080/JavawsMustangIntegTest/hellojaws/BAT.jnlp
you will see double launch
Before (latest promoted jre) - after splash screen it is launched almost immediately.
Now - after splash you can see "Downloading application" window, then
"Launching application" window , then again "Downloading application"
window and "Launching application" window and finally application launched.
Below is BAT.jnlp (hellojaws.jar is not signed, no vm-args, only one property - jnlp.TESTNAME):
<?xml version="1.0" encoding="utf-8"?>
<!-- @(#)BAT.jnlp 1.10 07/09/06 -->
<jnlp codebase="$$codebase">
<information>
<title>Java Web Start Test Case -- BAT</title>
<vendor>Sun Microsystems, Inc.</vendor>
<homepage href="homepage.html"/>
<description>Basic Acceptance Test</description>
<description kind="one-line">This test is
used for basic acceptance test for Java Web Start.</description>
<description kind="tooltip">Not worth to run it again.</description>
<description kind="short">A boring test.</description>
<icon kind="default" href="images/Button_Default.jpg"/>
<icon kind="disabled" href="images/Button_Disabled.jpg"/>
<icon kind="selected" href="images/Button_Selected.jpg"/>
<icon kind="rollover" href="images/Button_Rollover.jpg"/>
</information>
<resources>
<j2se version="1.2+"/>
<jar href="jar/hellojaws.jar"/>
<property name="jnlp.TESTNAME" value="BAT_TEST"/>
</resources>
<application-desc main-class="hellojaws"/>
</jnlp>