JDK-6462407 : Regression: 2 TCK-jnlp testcases fail with 5.0u10b01 and pass with 5.0u8b03
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 5.0u9
  • Priority: P1
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,solaris_9
  • CPU: generic,sparc
  • Submitted: 2006-08-22
  • Updated: 2014-02-27
  • Resolved: 2006-10-07
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.
Other
5.0u10 b02Fixed
Related Reports
Duplicate :  
Description
There are regression in UR: 2 TCK-jnlp testcases fail with 5.0u10b01 and pass with 5.0u8b03.

JDK            : 1.5.0_8b03/1.5.0_10b01 
Platform[s]    : Solaris 10 x86, x86 SUSE 10 Pro
testbase       : /net/jqa.ireland/export/home4/testsuites/1.5.0/TCK-jnlp-1.5/

= Results can be accessed: 

http://latte.ireland/results/1.5.0_09/Build01/tck-jnlp/x86-Solaris10/failed.html
http://latte.ireland/results/1.5.0_09/Build01/tck-jnlp/x86-Solaris10/index_get.jtr
http://latte.ireland/results/1.5.0_09/Build01/tck-jnlp/x86-Solaris10/index_manifest.jtr

= Tests that fail:

The jnlp client exit code is -1

    * api/javax_jnlp/ExtensionInstallerService/index.html#get : Test getExtensionXXX() methods
    * jnlp_file/installerDesc/index.html#manifest : Test for basic jnlp file parsing 

= Error message:

----------messages:(1/158)----------
command: com.sun.tck.jnlp.lib.JNLPCommand com.sun.tck.jnlp.lib.CommandJNLPLauncher javaws http://qt4:48326/api/javax_jnlp/ExtensionInstallerService/test.jnlp
----------out1:(5/377)----------
Warning: Cannot convert string "-monotype-arial-regular-r-normal--*-140-*-*-p-*-iso8859-1" to type FontStruct
# Option: TCKHarnessRun=true
# Option: LogToHost=localhost:48327
# Option: TCKResponse=true
#### Java Web Start Error:#### Too many arguments supplied: {, /.java/deployment/cache/javaws/http/Dqt4/P48326/V1.0/DMapi/DMjavax_jnlp/DMExtensionInstallerService/EMget.jnlp }
----------out2:(1/50)----------
#### Java Web Start Error:#### Installation failed
result: Failed. The jnlp client exit code is -1


test result: Failed. The jnlp client exit code is -1
*** (#1 of 1): [ UNSAVED ] ###@###.###

= How to reproduce

1. Install jdk, export JAVA_HOME, include JAVA_HOME/bin in path, 
execute javaws and set direct connection to Internet

2. Execute TCK-jnlp 1.5, create work directory, load config file 

3. Select and execute two testcases

Comments
SUGGESTED FIX http://web-east.east/deployment/www/webrevs/ngthomas/6462407/webrev/
24-08-2006

EVALUATION problem caused by fix to 6420226, as we now cannot launch any extension installer that is not in system cache. code: String[] args = new String[]{ Globals.isSystemCache() ? "-system" : "", "-installer", jnlpFile.getAbsolutePath() }; results in args[0] = "", which causes the problem.
22-08-2006