JDK-6679306 : PIT: jnlp double launches when using URL arg.
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 6u10
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2008-03-24
  • Updated: 2010-09-17
  • Resolved: 2008-04-03
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
6u10 b21Fixed 7Fixed
Related Reports
Relates :  
Description
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>

Comments
SUGGESTED FIX http://web-east.east/www/webrevs/ah22606/1.6.0_10/6679306/
25-03-2008

EVALUATION actually double launches on windows too, but for some reason automation dosn't object. The only reason for secure args to not be passed by the native code on the command line is the native code didn't see the jnlp file due to launching with URL arg.
25-03-2008