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.
7 b130Fixed
Related Reports
Relates :  
Relates :  
Tested build: jdk7 b127-pit
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:
3) The application have been launched.

Source code:

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.