United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7014170 jnlp parameter os name does not work
JDK-7014170 : jnlp parameter os name does not work

Details
Type:
Bug
Submit Date:
2011-01-24
Status:
Closed
Updated Date:
2011-05-25
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
deploy
OS:
windows_xp
Sub-Component:
webstart
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Relates:
Relates:

Sub Tasks

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.
                                     
2011-01-27



Hardware and Software, Engineered to Work Together