JDK-7014170 : jnlp parameter os name does not work
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: generic
  • Submitted: 2011-01-24
  • Updated: 2011-05-25
  • Resolved: 2011-03-08
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 7
7 b130Fixed
Related Reports
Relates :  
Relates :  
Description
Tested build: jdk7 b127-pit
http://rehudson.sfbay.sun.com/hudsonws/deploypit/bundles/windows-i586/b255-2011-01-20_29/
Tested OS: Windows XP
Tested browser: IE8

On Windows XP, in jnlp file, when using <resources os="Windows XP DDD"> or <resources os="Windows DDD">, the application should not be launch. But the application launched. Notice, this can not reproduce on Windows Vista or Windows 7.

Steps to reproduce:
1) Find a Windows XP machine
2) Open the following applet:
http://sqeweb.sfbay.sun.com/net/sqenfs-1/export1/comp/jsn/users/jean/CR_Example/7014170/HelloWorld.html
http://sqeweb.sfbay.sun.com/net/sqenfs-1/export1/comp/jsn/users/jean/CR_Example/7014170/HelloWorld2.html
3) The application have been launched.

Source code:
http://sqeweb.sfbay.sun.com/net/sqenfs-1/export1/comp/jsn/users/jean/CR_Example/7014170/HelloWorld.java
http://sqeweb.sfbay.sun.com/net/sqenfs-1/export1/comp/jsn/users/jean/CR_Example/7014170/HelloWorld.jnlp
http://sqeweb.sfbay.sun.com/net/sqenfs-1/export1/comp/jsn/users/jean/CR_Example/7014170/HelloWorld2.jnlp

Comments
EVALUATION the previous analysis ignored the following line in the specification: "For the os, arch, and locale attributes several keys can be specified separated with spaces. A space that is part of a key must be preceded with a backslash (\). For example, Windows\ 95 Windows\ 98 specifies the two keys Windows 95 and Windows 98. " as a result "Windows Banana" Should match any of the following OS's: Windows XP Windows 7 WIndows Vista Banana OS whereas "Windows\ Banana" should match none of the above.
27-01-2011